Skip to content

geos.GEOSCoverageUnion ⇒ GEOSGeometry

Optimized union algorithm for polygonal inputs that are correctly noded and do not overlap. It may generate an error (return NULL) for inputs that do not satisfy this constraint, however this is not guaranteed.

Kind: global property of geos
Returns: GEOSGeometry - A geometry that covers all the points of the input geometry. Caller is responsible for freeing with GEOSGeom_destroy().

ParamTypeDescription
gGEOSGeometryThe input geometry

geos.GEOSCoverageUnion_r ⇒ GEOSGeometry

Optimized union algorithm for polygonal inputs that are correctly noded and do not overlap. It may generate an error (return NULL) for inputs that do not satisfy this constraint, however this is not guaranteed.

Kind: global property of geos
Returns: GEOSGeometry - A geometry that covers all the points of the input geometry. Caller is responsible for freeing with GEOSGeom_destroy().

ParamTypeDescription
handleGEOSContextHandle_t-
gGEOSGeometryThe input geometry