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
viriables?


2010/1/31 Glynn Clements <[email protected]>

>
> 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
> system.
>
> 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 <[email protected]>
>
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to