3197 #if POSTGIS_GEOS_VERSION < 31100
3199 lwpgerror(
"The GEOS version this PostGIS binary "
3200 "was compiled against (%d) doesn't support "
3201 "'GEOSConstrainedDelaunayTriangulation' function (3.11.0+ required)",
3209 LWGEOM *lwgeom_out = lwgeom_triangulate_polygon(lwgeom_in);
3214 PG_FREE_IF_COPY(geom, 0);
3218 result = geometry_serialize(lwgeom_out);
3221 PG_FREE_IF_COPY(geom, 0);
3222 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)
#define POSTGIS_GEOS_VERSION