linux - 使用 ogr2ogr 安装 GDAL 时出错

标签 linux dictionary gdal

在这里,我正在尝试绘制我的国家的 map ,为此我得到了一篇文章 http://bost.ocks.org/mike/map/我已经安装了这里所说的所有工具,就像我是 ubuntu 14.04 的用户一样,linux 的自制软件是 linuxbrew,然后通过 linuxbrew,我安装了(地理空间数据抽象库)gdal,因为这里说 gdal 安装了 ogr2ogr。但是当用

检查时

which ogr2ogr , then i did not respond to anything. then , i tried ..

locate ogr2ogr ,then i also did not respond to anything. but before the installation complete the error message was as follows..

==> 进行检查 make[2]: * [check-am] 错误 2 make[2]: 离开目录 /tmp/libspatialite20150624-14363-fi3prm/libspatialite-4.2.0/test' make[1]: *** [检查递归] 错误 1 make[1]: 离开目录/tmp/libspatialite20150624-14363-fi3prm/libspatialite-4.2.0/test' make: * [check-recursive] 错误 1

您的帮助将不胜感激...

最佳答案

ogr2ogr 是 GDAL 的一个工具,可作为 Ubuntu ( here is the package metadata ) 的软件包使用。

以 root 身份,使用此命令安装它:

sudo apt-get install gdal-bin

应该安装 GDAL 工具和所需的所有依赖项。

关于linux - 使用 ogr2ogr 安装 GDAL 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30940438/

相关文章:

python删除列表理解中的字典键

c# - 按顺序枚举 Dictionary.KeyCollection

geospatial - 如何使用基于 GUI 的工具在没有 GDAL 的情况下裁剪 Geotiff?

python - 值错误 : Received a null pointer

macos - 在 mac 上使用 macports 安装 gdal 时出错

c - 如何使用U-Boot将应用加载到板子上

python - 如何在 bluez 中编写客户端特征配置描述符

python - 在 Scientific Linux 上激活 Anaconda 环境

c# - 使用 for 循环遍历字典

linux - 将运行时日志存储在文件夹中