Go to file
Sandro Santilli 91ebc054e3
continuous-integration/drone/push Build encountered an error Details
Fix gitlab-ci badge (hopefully)
2024-01-12 09:13:27 +01:00
doc Minor docs cleanup 2021-01-01 18:00:49 +11:00
docker/build-test Add build instructions for build-test docker image 2016-07-18 12:11:19 +02:00
headers Update official website (gogs -> gitea) 2018-01-25 09:38:49 +01:00
src remove unnecessary escapes from polyline 2023-07-12 13:23:56 +02:00
.drone.yml ci: Have dronie build with -Wall 2024-01-12 09:10:24 +01:00
.editorconfig Style only commit: use 2-spaces instead of tabs, trim ending newlines 2016-05-06 18:25:54 +02:00
.gitignore Add build instructions for build-test docker image 2016-07-18 12:11:19 +02:00
.gitlab-ci.yml Add warning flags to build config 2016-07-18 10:34:52 +02:00
COPYING Add COPYING file 2015-12-14 08:33:21 +01:00
CREDITS Add PSC info 2016-04-30 19:25:23 +02:00
HOWTO_RELEASE ChangeLog is now only included in dist 2018-01-24 18:06:30 +01:00
Makefile.am Fix distcheck and avoid overriding ChangeLog in distributions 2016-10-27 15:14:01 +02:00
NEWS.md Minor docs cleanup 2021-01-01 18:00:49 +11:00
README.md Fix gitlab-ci badge (hopefully) 2024-01-12 09:13:27 +01:00
TODO Remove done item 2015-12-12 20:05:12 +01:00
autogen.sh Switch to automake based builds 2016-04-25 17:06:39 +02:00
configure.ac Set final version to 1.1.0 2019-07-27 08:55:02 +02:00
makefile.vc add missing object 2021-10-19 08:37:59 -03:00
nmake.opt Add build scripts for MSVC 2016-04-25 17:19:10 +02:00
rttopo.pc.in Switch to automake based builds 2016-04-25 17:06:39 +02:00

README.md

RT Topology Library

Build status

OSGeo GitLab
dronie gitlab

About

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.

Official code repository is https://git.osgeo.org/gitea/rttopo/librttopo

A mirror exists at https://gitlab.com/rttopo/rttopo, automatically updated on every push to the official repository.

Development mailing list: https://lists.osgeo.org/mailman/listinfo/librttopo-dev

Building, testing, installing

Unix

Using Autotools:

    ./autogen.sh # in ${srcdir}, if obtained from GIT
    ${srcdir}/configure # in build dir
    make # build
    make check # test
    make install # or install-strip

Microsoft Windows

See separate document

Using

The public header for topology support is librttopo.h. The caller has to setup a backend interface (RTT_BE_IFACE) implementing all the required callbacks and will then be able to use the provided editing functions.

The contract for each callback is fully specified in the header. The callbacks are as simple as possible while still allowing for backend-specific optimizations.

The backend interface is an opaque object and callbacks are registered into it using free functions. This is to support modifying the required set of callbacks between versions of the library without breaking backward compatibility.