.TH g.mapset 1grass "" "GRASS 7.2.0" "Grass User's Manual" .SH NAME \fI\fBg.mapset\fR\fR \- Changes/reports current mapset. .br Optionally create new mapset or list available mapsets in given location. .SH KEYWORDS general, settings .SH SYNOPSIS \fBg.mapset\fR .br \fBg.mapset \-\-help\fR .br \fBg.mapset\fR [\-\fBclp\fR] \fBmapset\fR=\fIname\fR [\fBlocation\fR=\fIname\fR] [\fBdbase\fR=\fIpath\fR] [\-\-\fBoverwrite\fR] [\-\-\fBhelp\fR] [\-\-\fBverbose\fR] [\-\-\fBquiet\fR] [\-\-\fBui\fR] .SS Flags: .IP "\fB\-c\fR" 4m .br Create mapset if it doesn\(cqt exist .IP "\fB\-l\fR" 4m .br List available mapsets and exit .IP "\fB\-p\fR" 4m .br Print current mapset and exit .IP "\fB\-\-overwrite\fR" 4m .br Allow output files to overwrite existing files .IP "\fB\-\-help\fR" 4m .br Print usage summary .IP "\fB\-\-verbose\fR" 4m .br Verbose module output .IP "\fB\-\-quiet\fR" 4m .br Quiet module output .IP "\fB\-\-ui\fR" 4m .br Force launching GUI dialog .SS Parameters: .IP "\fBmapset\fR=\fIname\fR \fB[required]\fR" 4m .br Name of mapset (default: current search path) .br Name of mapset where to switch .IP "\fBlocation\fR=\fIname\fR" 4m .br Location name .br Location name (not location path) .IP "\fBdbase\fR=\fIpath\fR" 4m .br GRASS GIS database directory .br Default: path to the current GRASS GIS database .SH DESCRIPTION \fIg.mapset\fR 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. .SH 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. For Bash: .br .nf \fC history \-w history \-r /\(dq$GISDBASE/$LOCATION/$MAPSET\(dq/.bash_history HISTFILE=/\(dq$GISDBASE/$LOCATION/$MAPSET\(dq/.bash_history \fR .fi .SH SEE ALSO \fI g.gisenv, g.mapsets \fR .SH AUTHOR Radim Blazek .PP \fILast changed: $Date: 2014\-09\-26 21:18:48 +0200 (Fri, 26 Sep 2014) $\fR .SH SOURCE CODE .PP Available at: g.mapset source code (history) .PP Main index | General index | Topics index | Keywords index | Graphical index | Full index .PP © 2003\-2016 GRASS Development Team, GRASS GIS 7.2.0 Reference Manual