[GRASS-windows] grass evnironment variables and grass session
maven apache
apachemaven0 at gmail.com
Wed Feb 24 22:06:17 EST 2010
Hi:
1) how to write a bat to run the grass command in a commin line?
----------------------
@echo off
rem Set GRASS Installation Directory Variable
set GRASSDIR=F:\anzhuang\GRASS
set GISBASE=D:\GrassDataBase;
set GISRC=C:\Documents and Settings\Administrator\.grassrc6;
set LOCATION_NAME=spearfish60;
set MAPSET=PERMANENT
rem Set Path to utilities (libraries and bynaries) used by GRASS
set PATH=%GRASSDIR%\msys\bin;%PATH%
set PATH=%GRASSDIR%\extrabin;%GRASSDIR%\extralib;%GRASSDIR%\extrabin;%PATH%
set
PATH=%GRASSDIR%\tcl-tk\bin;%GRASSDIR%\sqlite\bin;%GRASSDIR%\gpsbabel;%PATH%
set
PATH=%PATH%;%GRASSDIR%\bin;%GRASSDIR%\lib;%GRASSDIR%\scripts;%GRASSDIR%\etc;%GRASSDIR%\sqlite\lib;%GRASSDIR%\sqlite\bin;
rem Path to the proj files (notably the epsg projection list)
set GRASS_PROJSHARE=%GRASSDIR%\proj
----------------------
The above is the content of the file named gra.bat which tried to create,
however it does not work ,and I show me the messges at:
http://imagebin.org/86392
It seems that the LOCATION_NAME is not available,but it is defined in the
file , I wonder why?
2) Also I want to know if the gisrc file (.grassrc6) is work for just one
user? I mean if more than one user use the grass , should I create a
.grassrc6 for each user?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-windows/attachments/20100225/4fcb18f0/attachment.html
More information about the grass-windows
mailing list