gpt4 book ai didi

linux - 使用 ogr2ogr 安装 GDAL 时出错

转载 作者:太空宇宙 更新时间:2023-11-04 10:51:12 24 4
gpt4 key购买 nike

在这里,我正在尝试绘制我的国家的 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] 错误 2make[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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com