Note: A new GRASS GIS stable version has been released: GRASS GIS 7.4, available here.
Updated manual page: here
NAME
g.mapset - Changes/reports current mapset.
Optionally create new mapset or list available mapsets in given location.
KEYWORDS
general,
settings
SYNOPSIS
g.mapset
g.mapset --help
g.mapset [-clp] mapset=name [location=name] [dbase=path] [--overwrite] [--help] [--verbose] [--quiet] [--ui]
Flags:
- -c
- Create mapset if it doesn't exist
- -l
- List available mapsets and exit
- -p
- Print current mapset and exit
- --overwrite
- Allow output files to overwrite existing files
- --help
- Print usage summary
- --verbose
- Verbose module output
- --quiet
- Quiet module output
- --ui
- Force launching GUI dialog
Parameters:
- mapset=name [required]
- Name of mapset (default: current search path)
- Name of mapset where to switch
- location=name
- Location name
- Location name (not location path)
- dbase=path
- GRASS GIS database directory
- Default: path to the current GRASS GIS database
g.mapset changes the current working MAPSET, LOCATION, or GISDBASE.
This is a fairly radical maneuver to run mid-session, take care when running
the GUI at the same time.
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. For Bash:
history -w
history -r /"$GISDBASE/$LOCATION/$MAPSET"/.bash_history
HISTFILE=/"$GISDBASE/$LOCATION/$MAPSET"/.bash_history
g.gisenv,
g.mapsets
Radim Blazek
Last changed: $Date: 2014-09-26 12:19:49 -0700 (Fri, 26 Sep 2014) $
SOURCE CODE
Available at: g.mapset source code (history)
Note: A new GRASS GIS stable version has been released: GRASS GIS 7.4, available here.
Updated manual page: here
Main index |
General index |
Topics index |
Keywords index |
Full index
© 2003-2018
GRASS Development Team,
GRASS GIS 7.0.7svn Reference Manual