如何为QGIS设置环境变量?

时间:2014-04-09 04:23:27

标签: shell gis

我想在Win7中为QGIS设置环境变量。

因为我想使用ogr2​​ogr& gdal in cmd。

我不想使用OSGEO4W shell。

因为我试图写一个批处理文件来使用。

不幸的是,我失败了。

How to open a new shell in cmd,then run script in a new shell?

1 个答案:

答案 0 :(得分:0)

这两个环境变量应该足够了:

set OSGEO4W_ROOT=<path to your QGIS folder>
path %OSGEO4W_ROOT%\bin;%PATH%
相关问题