cleanCoordinates

fun <T : Geometry> cleanCoordinates(geometry: T): T

Removes redundant coordinates from any GeoJSON Geometry.

Return

the cleaned input Geometry

Parameters

geometry

input Geometry