[GRASSLIST:3748] Re: switching location
Glynn Clements
glynn.clements at virgin.net
Fri May 24 12:37:58 EDT 2002
Anil Kumar Bhagat wrote:
> Is is possible to switch one LOCATION to another while
> runing the grass . If yes please suggest .
Partially. With pre4 and later, using any of:
g.gisenv set=GISDBASE=newdbase
g.gisenv set=LOCATION_NAME=newlocation
g.gisenv set=MAPSET=newmapset
will mostly work.
Things which won't work correctly include:
1. Monitor state (resizing, d.save, d.redraw etc). You may as well run
"d.erase" when changing location, as the stored state is no longer
usable.
2. Existing NVIZ and tcltkgrass sessions won't recognise the change of
location; they will continue to use the old location.
3. The shell history (.bash_history) will be saved in the original
mapset directory.
--
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-user
mailing list