[GRASSLIST:480] Re: where is $LOCATION set
H Bowman
hamish_nospam at yahoo.com
Tue Jun 24 01:00:59 EDT 2003
> I am having trouble with the environment variables.
They aren't set by default any more. If you want to use them,
g.gisenv will list current GRASS state (from the ~/.grassrc5 file)
and
eval `g.gisenv` will "activate" the variables listed in g.gisenv.
so
eval `g.gisenv`
cd $GISDBASE/$LOCATION_NAME
should work.
set or echo $[tab][tab] will list currently available enviro vars
Hamish
More information about the grass-user
mailing list