geo
geo copied to clipboard
Removing (consecutive) repeated coordinates
What do you think about having a functionality to remove consecutive repeated coordinates (optionally within a specified tolerance) in geometries of this crate ?
For example Postgis has ST_RemoveRepeatedPoints (and Turfjs has cleanCoords which is slightly different from ST_RemoveRepeatedPoints).
For MultiPoints it could remove repeated points while for (Multi)LineStrings and (Multi)Polygons it could remove consecutive repeated coordinates.
That seems like a useful addition to me.
This was completed, right?
Only partially, the current implementation offers removal of duplicate points but not removal within a given tolerance.