88 #if POSTGIS_GEOS_VERSION < 33
89 lwerror(
"The GEOS version this postgis binary "
90 "was compiled against (%d) doesn't support "
91 "'GEOSUnaryUnion' function (3.3.0+ required)",
107 gepu = GEOSUnaryUnion(gepall);
109 GEOSGeom_destroy(gepall);
113 GEOSGeom_destroy(gepall);
116 GEOSGeom_destroy(gepu);
118 lwerror(
"Error during GEOS2LWGEOM");
#define POSTGIS_GEOS_VERSION
char lwgeom_geos_errmsg[LWGEOM_GEOS_ERRMSG_MAXSIZE]
GEOSGeometry * LWGEOM2GEOS(const LWGEOM *lwgeom)
void lwerror(const char *fmt,...)
Write a notice out to the error handler.
void lwmpoint_free(LWMPOINT *mpt)
#define FLAGS_GET_Z(flags)
Macros for manipulating the 'flags' byte.
LWGEOM * GEOS2LWGEOM(const GEOSGeometry *geom, char want3d)
static LWMPOINT * lwgeom_extract_endpoints(const LWGEOM *lwg)