GRASS logo

NAME

g.mapset - Changes current mapset.
Optionally create new mapset or list available mapsets in given location.

KEYWORDS

general, settings

SYNOPSIS

g.mapset
g.mapset help
g.mapset [-cl] mapset=name [location=name] [gisdbase=path] [--verbose] [--quiet]

Flags:

-c
Create mapset if it doesn't exist
-l
List available mapsets
--verbose
Verbose module output
--quiet
Quiet module output

Parameters:

mapset=name
Name of mapset where to switch
location=name
Location name (not location path)
gisdbase=path
GIS data directory
Full path to the directory where the new location is

DESCRIPTION

g.mapset allows to change the current mapset

NOTES

The shell continues to use the history for the old mapset. To change this you can switch the history to the new settings by commands:

   history -w
   history -r /$GISDBASE/$LOCATION/$MAPSET/.bash_history
   HISTFILE=/$GISDBASE/$LOCATION/$MAPSET/.bash_history

SEE ALSO

g.gisenv
g.mapsets

AUTHOR

Radim Blazek

Last changed: $Date: 2008-08-14 23:16:42 -0700 (Thu, 14 Aug 2008) $


Main index - general index - Full index

© 2003-2011 GRASS Development Team