Skip to content
On this page

geos.GEOSUnaryUnion ⇒ number

Computes the union of all the input geometries.

Kind: Exported member
Returns: number - A pointer to a new GEOS geometry representing the union, or NULL on exception.
See: https://postgis.net/docs/ST_UnaryUnion.html

ParamTypeDescription
geomnumberA pointer to a GEOS geometry.

geos.GEOSUnaryUnionPrec ⇒ number

Computes the union of all the input geometries with a specified precision grid size.

Kind: Exported member
Returns: number - A pointer to a new GEOS geometry representing the union, or NULL on exception.
See: https://postgis.net/docs/ST_UnaryUnion.html

ParamTypeDescription
geomnumberA pointer to a GEOS geometry.
gridSizenumberThe size of the precision grid to use for snapping.

geos.GEOSUnaryUnionPrec_r ⇒ number

Computes the union of all the input geometries with a specified precision grid size using a GEOS context handle.

Kind: Exported member
Returns: number - A pointer to a new GEOS geometry representing the union, or NULL on exception.
See: https://docs.rs/geos-sys/2.0.3/geos_sys/fn.GEOSUnaryUnionPrec_r.html

ParamTypeDescription
handlenumberA pointer to a GEOS context handle.
geomnumberA pointer to a GEOS geometry.
gridSizenumberThe size of the precision grid to use for snapping.

geos.GEOSUnaryUnion_r ⇒ number

Computes the union of all the input geometries using a GEOS context handle.

Kind: Exported member
Returns: number - A pointer to a new GEOS geometry representing the union, or NULL on exception.
See: https://docs.rs/geos-sys/2.0.3/geos_sys/fn.GEOSUnaryUnion_r.html

ParamTypeDescription
handlenumberA pointer to a GEOS context handle.
geomnumberA pointer to a GEOS geometry.