PageRenderTime 38ms CodeModel.GetById 35ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/docs/ref/contrib/gis/geodjango_setup.bat

https://code.google.com/p/mango-py/
Batch | 8 lines | 8 code | 0 blank | 0 comment | 0 complexity | c409d7502bde71d3aa824772e552ee22 MD5 | raw file
1set OSGEO4W_ROOT=C:\OSGeo4W
2set PYTHON_ROOT=C:\Python27
3set GDAL_DATA=%OSGEO4W_ROOT%\share\gdal
4set PROJ_LIB=%OSGEO4W_ROOT%\share\proj
5set PATH=%PATH%;%PYTHON_ROOT%;%OSGEO4W_ROOT%\bin
6reg ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v Path /t REG_EXPAND_SZ /f /d "%PATH%"
7reg ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v GDAL_DATA /t REG_EXPAND_SZ /f /d "%GDAL_DATA%"
8reg ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v PROJ_LIB /t REG_EXPAND_SZ /f /d "%PROJ_LIB%"