Advertisement
Guest User

python-qgis.bat

a guest
Jul 23rd, 2016
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.44 KB | None | 0 0
  1. @echo off
  2. call "%~dp0\o4w_env.bat"
  3. @echo off
  4. path %OSGEO4W_ROOT%\apps\qgis\bin;%PATH%
  5. set QGIS_PREFIX_PATH=%OSGEO4W_ROOT:\=/%/apps/qgis
  6. set GDAL_FILENAME_IS_UTF8=YES
  7. rem Set VSI cache to be used as buffer, see #6448
  8. set VSI_CACHE=TRUE
  9. set VSI_CACHE_SIZE=1000000
  10. set QT_PLUGIN_PATH=%OSGEO4W_ROOT%\apps\qgis\qtplugins;%OSGEO4W_ROOT%\apps\qt4\plugins
  11. set PYTHONPATH=%OSGEO4W_ROOT%\apps\qgis\python;%PYTHONPATH%
  12. "%OSGEO4W_ROOT%"\bin\python.exe %*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement