Skip to content

Instantly share code, notes, and snippets.

@BWibo
BWibo / README.md
Created October 12, 2018 09:53
SFCGAL constraint delaunay triangulation

Constraint Delaunay Triangulation for PostGIS using SFCGAL

As discussed in this StackExchange question, there is a function available in SFCGAL that performs a Constrained Delaunay Triangulation. Some explanation and examples are available here.

Setup

There is a secret function available in SFCGAL that just needs to be exposed to use it. Make sure to set the correct PostGIS version in '$libdir/postgis-2.4.