librttopo 安装

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
librttopo 安装

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

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

3. 使用 Autotools 工具生成configure

cd librttopo/
./autogen.sh 

librttopo 安装

4. 配置

./configure --prefix=/usr/local

librttopo 安装

4. 构建+编译+安装

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

librttopo 安装

librttopo 安装

至此,安装完成。

上一篇:关于JAVA中URL传递中文参数,取值是乱码的解决办法


下一篇:elasticsearch控制台中文乱码和jvm内存大小调整。 解决办法: