【问题标题】:How to install gdal_merge to run with osgeo?如何安装 gdal_merge 以与 osgeo 一起运行?
【发布时间】:2014-02-27 09:54:47
【问题描述】:

我最近安装了 OSGEO (http://download.osgeo.org/),其中包括 python 和 gdal。然而,我刚刚意识到这个包中没有包含许多 gdal 库,例如 gdal_merge。如何将它们安装到 osgeo 环境中?

【问题讨论】:

    标签: gdal osgeo


    【解决方案1】:

    转到此链接:

    gdal_merge.py

    复制所有内容并将脚本保存为 gdal_merge.py。

    将 gdal_merge.py 放到你的 gdal 库目录(osgeo 目录)中。

    【讨论】:

    【解决方案2】:

    在 Windows 上,在 OSGeo4W 安装程序中,gdal_merge.py 和其他 GDAL Python 脚本包含在 Libsgdal-python 包中/strong> 类别。

    安装后,Python 脚本将与批处理文件一起复制到 OSGeo4W 安装目录中的 bin 子目录中以启动 Python 脚本。 (例如,gdal_merge.bat)。

    安装后,GDAL Python 脚本可以从 Windows 开始菜单中的 OSGeo4W Shell 执行。

    【讨论】:

      猜你喜欢
      • 2019-08-04
      • 1970-01-01
      • 2017-01-29
      • 2011-06-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-11-06
      相关资源
      最近更新 更多