1046{
1050 GEOSGeometry *g1, *g2, *g3;
1051
1053
1054
1056
1057
1059
1061
1064
1065 if ( gridSize >= 0) {
1066#if POSTGIS_GEOS_VERSION < 30900
1069 return NULL;
1070#else
1071 g3 = GEOSUnionPrec(g1, g2, gridSize);
1072#endif
1073 }
1074 else
1075 {
1076 g3 = GEOSUnion(g1, g2);
1077 }
1078
1080 GEOSSetSRID(g3, srid);
1081
1084
1087}
char result[OUT_DOUBLE_BUFFER_SIZE]
void lwgeom_geos_error_minversion(const char *functionality, const char *minver)
GEOSGeometry * LWGEOM2GEOS(const LWGEOM *lwgeom, uint8_t autofix)
#define GEOS_FREE_AND_FAIL(...)
void lwgeom_geos_error(const char *fmt,...)
void(*) LWGEOM GEOS2LWGEOM)(const GEOSGeometry *geom, uint8_t want3d)
#define FLAGS_GET_Z(flags)
LWGEOM * lwgeom_clone_deep(const LWGEOM *lwgeom)
Deep clone an LWGEOM, everything is copied.
void lwnotice(const char *fmt,...) __attribute__((format(printf
Write a notice out to the notice handler.
static int lwgeom_is_empty(const LWGEOM *geom)
Return true or false depending on whether a geometry is an "empty" geometry (no vertices members)