[GRASS-user] Problems with GRASS python code in osgeo4w
glynn at gclements.plus.com
Tue Jun 23 20:29:32 EDT 2009
Moskovitz, Bob wrote:
> I noticed that most of the *.bat files have forward slashes. For example:
> C:\OSGeo4W\apps\grass\bin\grass64.bat: set WINGISBASE=/c/OSGeo4W/apps/grass/grass-6.4.0RC4
> C:\OSGeo4W\apps\grass\grass-6.4.0svn\bin\d.correlate.bat: @"%GRASS_SH%" -c '"%GISBASE%/scripts/d.correlate" %*'
> C:\OSGeo4W\apps\grass\grass-6.4.0svn\etc\Init.bat: if "%GRASS_PROJSHARE%"=="" set GRASS_PROJSHARE=/c/OSGeo4W/share/proj
> C:\OSGeo4W\bin\grass64.bat set WINGISBASE=%OSGEO4W_ROOT%/apps/grass/grass-6.4.0svn
The second one is correct, as that's the syntax which MSys' bash
requires. The rest of them are wrong.
I didn't realise that the problems with OSGeo4W were this bad.
I suggest that you use the standalone GRASS packages rather than
OSGeo4W. Or at least report OSGeo4W-specific problems to the OSGeo4W
list or tracker.
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-user