Opened 11 years ago

Closed 8 years ago

#369 closed defect (fixed)

PROJ_LIB wrongly set in env.bat

Reported by: jef Owned by: martinl
Priority: major Component: Package
Version: Keywords: grass
Cc:

Description

GRASS' env.bat sets @PROJ_LIB@ to @%OSGEO4W_ROOT%\proj@ instead of @%OSGEO4W_ROOT%\share\proj@ and override the correct setting from @etc\ini\proj.bat@.

See also http://hub.qgis.org/issues/7941#change-44282

Change History (4)

comment:1 by jef, 11 years ago

s/@\(.*\)@/\1}/g

comment:2 by martinl, 11 years ago

Should be fixed for GRASS 6.4.4 (1). I uploaded to osgeo4w grass-6.4.3-4 with locally applied patch. Let me know if it solves the problem.

(1) http://trac.osgeo.org/grass/changeset/57522

comment:3 by jef, 11 years ago

Sorry for the late reply. Yes, is fixes the problem.

However why are there non-GRASS settings in env.bat? grass.bat runs o4w_env.bat so those settings should already be there from etc\ini, ie. GDAL_DATA, PYTHONHOME, GEOTIFF_CSV and PROJ_LIB.

comment:4 by micahcochran, 8 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.