不安分的黑娃
踏踏实实,坚持学习,慢慢就懂了~

librttopo 安装

官网

下载地址

https://git.osgeo.org/gitea/rttopo/librttopo/tags

什么是 librttopo?

The RT Topology Library exposes an API to create and manage standard (ISO 13249 aka SQL/MM) topologies using user-provided [data stores] (doc/DATASTORES.md) and released under the GNU GPL license (version 2 or later).

The code is derived from PostGIS liblwgeom library enhanced to provide thread-safety, have less dependencies and be independent from PostGIS release cycles.

The RT Topology Library was funded by "Regione Toscana - SITA" (CIG: 6445512CC1), which also funded many improvements in the originating liblwgeom.

安装

Ubuntu 环境

安装autotools-dev:

sudo apt install autotools-dev autoconf

安装 libtool :

sudo apt install libtool libltdl-dev

1. 下载 librttopo-librttopo-1.1.0.tar.gz

下载地址 :https://git.osgeo.org/gitea/rttopo/librttopo/tags
image

2. 解压 lbrttopo-librttopo-1.1.0.tar.gz

tar -zxvf librttopo-librttopo-1.1.0.tar.gz

3. 使用 Autotools 工具生成configure

cd librttopo/
./autogen.sh 

image

4. 配置

./configure --prefix=/usr/local

image

4. 构建+编译+安装

make # build
make check # test
sudo make install # or install-strip

image

image

至此,安装完成。

posted on 2021-12-08 18:51  不安分的黑娃  阅读(480)  评论(0编辑  收藏  举报