Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > 413e0bdb3c48563b2d8d9038d07d5533 > files > 1580

grass-6.3.0-15.fc13.i686.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>GRASS GIS: g.mapset</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="grassdocs.css" type="text/css">
</head>
<body bgcolor="white">

<img src="grass_logo.png" alt="GRASS logo"><hr align=center size=6 noshade>

<h2>NAME</h2>
<em><b>g.mapset</b></em>  - Change current mapset
<h2>KEYWORDS</h2>
general
<h2>SYNOPSIS</h2>
<b>g.mapset</b><br>
<b>g.mapset help</b><br>
<b>g.mapset</b> [-<b>c</b>] <b>mapset</b>=<em>string</em>  [<b>location</b>=<em>string</em>]   [<b>gisdbase</b>=<em>string</em>]   [--<b>verbose</b>]  [--<b>quiet</b>] 

<h3>Flags:</h3>
<DL>
<DT><b>-c</b></DT>
<DD>Create mapset if it doesn't exist</DD>

<DT><b>--verbose</b></DT>
<DD>Verbose module output</DD>
<DT><b>--quiet</b></DT>
<DD>Quiet module output</DD>
</DL>

<h3>Parameters:</h3>
<DL>
<DT><b>mapset</b>=<em>string</em></DT>
<DD>New MAPSET name</DD>

<DT><b>location</b>=<em>string</em></DT>
<DD>New LOCATION name (not location path)</DD>

<DT><b>gisdbase</b>=<em>string</em></DT>
<DD>New GISDBASE (full path to the directory where the new location is)</DD>

</DL>
<h2>DESCRIPTION</h2>

<em>g.mapset</em> allows to change the current mapset 

<h2>NOTES</h2>

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:<BR>
<BR>
<div class="code"><pre>
   history -w
   history -r /$GISDBASE/$LOCATION/$MAPSET/.bash_history
   HISTFILE=/$GISDBASE/$LOCATION/$MAPSET/.bash_history
</pre></div><BR>

<h2>SEE ALSO</h2>

<em><a HREF="g.gisenv.html">g.gisenv</a></em><br>
<em><a HREF="g.mapsets.html">g.mapsets</a></em><br>

<h2>AUTHOR</h2>

Radim Blazek

<p><i>Last changed: $Date: 2005-12-07 14:31:16 +0100 (Wed, 07 Dec 2005) $</i>
<HR>
<P><a href="index.html">Main index</a> - <a href="general.html">general index</a> - <a href="full_index.html">Full index</a></P>
<P>&copy; 2003-2008 <a href="http://grass.osgeo.org">GRASS Development Team</a></p>
</body>
</html>