PageRenderTime 26ms CodeModel.GetById 10ms RepoModel.GetById 0ms 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
Possible License(s): BSD-3-Clause
  1. set OSGEO4W_ROOT=C:\OSGeo4W
  2. set PYTHON_ROOT=C:\Python27
  3. set GDAL_DATA=%OSGEO4W_ROOT%\share\gdal
  4. set PROJ_LIB=%OSGEO4W_ROOT%\share\proj
  5. set PATH=%PATH%;%PYTHON_ROOT%;%OSGEO4W_ROOT%\bin
  6. reg ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v Path /t REG_EXPAND_SZ /f /d "%PATH%"
  7. reg ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v GDAL_DATA /t REG_EXPAND_SZ /f /d "%GDAL_DATA%"
  8. reg ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v PROJ_LIB /t REG_EXPAND_SZ /f /d "%PROJ_LIB%"