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