3307 #if POSTGIS_GEOS_VERSION < 31100
3309 lwpgerror(
"The GEOS version this PostGIS binary "
3310 "was compiled against (%d) doesn't support "
3311 "'GEOSConstrainedDelaunayTriangulation' function (3.11.0+ required)",
3324 PG_FREE_IF_COPY(geom, 0);
3328 result = geometry_serialize(lwgeom_out);
3331 PG_FREE_IF_COPY(geom, 0);
3332 PG_RETURN_POINTER(
result);
char result[OUT_DOUBLE_BUFFER_SIZE]
LWGEOM * lwgeom_from_gserialized(const GSERIALIZED *g)
Allocate a new LWGEOM from a GSERIALIZED.
void lwgeom_free(LWGEOM *geom)
LWGEOM * lwgeom_triangulate_polygon(const LWGEOM *geom)
Take vertices of a polygon and build a constrained triangulation that respects the boundary of the po...
#define POSTGIS_GEOS_VERSION