geos.GEOSRemoveRepeatedPoints ⇒ GEOSGeometry
⏏
Works from start of each coordinate sequence in the geometry, retaining points that are further away from the previous retained point than the tolerance value.
Kind: global property of geos
Returns: GEOSGeometry
- A geometry with all points within the tolerance of each other removed.
Param | Type | Description |
---|---|---|
g | GEOSGeometry | The geometry to filter |
tolerance | number | Remove all points within this distance of each other. Use 0.0 to remove only exactly repeated points. |
geos.GEOSRemoveRepeatedPoints_r ⇒ GEOSGeometry
⏏
Works from start of each coordinate sequence in the geometry, retaining points that are further away from the previous retained point than the tolerance value.
Kind: global property of geos
Returns: GEOSGeometry
- A geometry with all points within the tolerance of each other removed.
Param | Type | Description |
---|---|---|
handle | GEOSContextHandle_t | - |
g | GEOSGeometry | The geometry to filter |
tolerance | number | Remove all points within this distance of each other. Use 0.0 to remove only exactly repeated points. |