[GRASS-user] Re: grass environment script
apachemaven0 at gmail.com
Sat Jan 30 22:27:39 EST 2010
In fact , I wonder if I can set the variables in the .grassrc to the path,
then I can work without the .grassrc?
$HOME/.grassrc6stores the GRASS variables (but not environment variables)Note
this, is there any differences between grass variables and envrionment
2010/1/31 Glynn Clements <glynn at gclements.plus.com>
> maven apache wrote:
> > In fact I mean how can I run grass in a common windows xp command line.
> > I have read this page:
> http://grass.osgeo.org/wiki/GRASS_and_Shell,however it
> > is about linux, and I am not sure which environment is requried.
> The same principles can be applied to any language and any operating
> The main point is that the GRASS libraries expect certain environment
> variables to be set (mainly GISBASE and GISRC), and the file
> referenced by GISRC should contain settings for GISDBASE,
> LOCATION_NAME, and MAPSET.
> There is a list of environment variables in the file
> $GIBASE/docs/html/variables.html (lib/init/variables.html in the
> source tree).
> Variables relating to specific display drivers are listed in the
> driver's documentation (e.g. pngdriver.html for the PNG driver).
> > Also I may need to change the location and mapset after import a
> > data(for example a geotiff).
> You can use g.mapset or g.gisenv to change these parameters.
> Glynn Clements <glynn at gclements.plus.com>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the grass-user