Skip to content
On this page

geos.GEOSCoverageUnion ⇒ number

Computes the union of all the input geometries using an optimized algorithm for coverages (collections of polygons that do not overlap).

Kind: Exported member
Returns: number - A pointer to a new GEOS geometry representing the union, or NULL on exception.
See: https://libgeos.org/doxygen/classgeos_1_1operation_1_1geounion_1_1CoverageUnionOp.html

ParamTypeDescription
geomnumberA pointer to a GEOS geometry.

geos.GEOSCoverageUnion_r ⇒ number

Computes the union of a collection of polygonal geometries that are correctly noded and do not overlap.

Kind: Exported member
Returns: number - The pointer to a GEOS geometry representing the union, or NULL on error.
See: https://libgeos.org/doxygen/classgeos_1_1operation_1_1geounion_1_1CascadedPolygonUnion.html

ParamTypeDescription
handlenumberA pointer to the GEOS context handle.
gnumberThe pointer to a GEOS geometry collection.