Module GRASS

Module is here for work with GRASS GIS environmental variables and locations and mapsets

class pywps.Grass.Grass(executeRequest)

GRASS initialization interface

mkMapset(location=None)

Create GRASS mapset in current directory. Mapsets name is ‘mapset’. At the end, GRASS will believe, it has run correctly.

Returns name of new created mapset. location!=None, this mapset should be deleted!

Arguments:
location - Should the new mapset be created in the some old
location, which is already on this server? Default: only mapset within /tmp/grasstmpSOMEHTIN/ will be created
setEnv(key, value)

Set GRASS environmental variables

Previous topic

Module Exceptions

Next topic

Module Parser

This Page