Skip to content

geos.GEOSNormalize ⇒ number

Organize the elements, rings, and coordinate order of geometries in a consistent way, so that geometries that represent the same object can be easily compared. Modifies the geometry in-place.

Kind: global property of geos
Returns: number - 0 on success or -1 on exception

ParamTypeDescription
gGEOSGeometryInput geometry

geos.GEOSNormalize_r ⇒ number

Organize the elements, rings, and coordinate order of geometries in a consistent way, so that geometries that represent the same object can be easily compared. Modifies the geometry in-place.

Kind: global property of geos
Returns: number - 0 on success or -1 on exception

ParamTypeDescription
handleGEOSContextHandle_t-
gGEOSGeometryInput geometry