[GRASS-SVN] r43520 - grass/branches/develbranch_6/mswindows

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Sep 19 16:01:37 EDT 2010


Author: hellik
Date: 2010-09-19 20:01:37 +0000 (Sun, 19 Sep 2010)
New Revision: 43520

Modified:
   grass/branches/develbranch_6/mswindows/GRASS-Installer.nsi
Log:
add missing GDAL_DATA variable to get r.in.wms working (see #1163)

Modified: grass/branches/develbranch_6/mswindows/GRASS-Installer.nsi
===================================================================
--- grass/branches/develbranch_6/mswindows/GRASS-Installer.nsi	2010-09-18 19:45:32 UTC (rev 43519)
+++ grass/branches/develbranch_6/mswindows/GRASS-Installer.nsi	2010-09-19 20:01:37 UTC (rev 43520)
@@ -670,6 +670,9 @@
 	FileWrite $0 'rem Path to the proj files (notably the epsg projection list)$\r$\n'	
 	FileWrite $0 'set GRASS_PROJSHARE=%GRASSDIR%\proj$\r$\n'
 	FileWrite $0 '$\r$\n'
+	FileWrite $0 'rem Set GDAL_DATA$\r$\n'	
+	FileWrite $0 'set GDAL_DATA=%GRASSDIR%\etc\ogr_csv$\r$\n'
+	FileWrite $0 '$\r$\n'
 	FileWrite $0 'rem Path to the python directory$\r$\n'
 	FileWrite $0 'set PYTHONHOME=%GRASSDIR%\Python25$\r$\n'
 	FileWrite $0 'if "x%GRASS_PYTHON%" == "x" set GRASS_PYTHON=python$\r$\n'
@@ -781,6 +784,10 @@
 	FileWrite $0 'GRASS_PROJSHARE="$INSTALL_DIR\proj"$\r$\n'
 	FileWrite $0 'export GRASS_PROJSHARE$\r$\n'
 	FileWrite $0 '$\r$\n'
+	FileWrite $0 '# Set the GDAL_DATA variable$\r$\n'
+	FileWrite $0 'GDAL_DATA="$INSTALL_DIR\etc\ogr_csv"$\r$\n'
+	FileWrite $0 'export GDAL_DATA$\r$\n'
+	FileWrite $0 '$\r$\n'
 	FileWrite $0 'exec "$$GISBASE/etc/Init.sh" "$$@"'
 	FileClose $0
 	done_create_grass_command:



More information about the grass-commit mailing list