1585 GEOSGeometry *g1, *g2, *g3;
1607 GEOSGeom_destroy(g1);
1611 g3 = GEOSSharedPaths(g1,g2);
1613 GEOSGeom_destroy(g1);
1614 GEOSGeom_destroy(g2);
1622 GEOSSetSRID(g3, srid);
1624 GEOSGeom_destroy(g3);
1628 lwerror(
"GEOS2LWGEOM threw an error");
void lwnotice(const char *fmt,...)
Write a notice out to the notice handler.
char lwgeom_geos_errmsg[LWGEOM_GEOS_ERRMSG_MAXSIZE]
void error_if_srid_mismatch(int srid1, int srid2)
void lwgeom_geos_error(const char *fmt,...)
#define FLAGS_GET_Z(flags)
Macros for manipulating the 'flags' byte.
GEOSGeometry * LWGEOM2GEOS(const LWGEOM *lwgeom, int autofix)
LWGEOM * GEOS2LWGEOM(const GEOSGeometry *geom, char want3d)
void lwerror(const char *fmt,...)
Write a notice out to the error handler.