simplifyRing

fun simplifyRing(points: List<GeoPosition>, toleranceMeters: Double): List<Int>

Indices of the points to keep of a closed ring (the last point is not repeated at the end: the edge from the last point back to the first is implied), at least 3 of them whenever the ring has that many. Like simplifyPath, dropped points stay within toleranceMeters of the outline that is kept. A tolerance of 0 (or less) keeps everything.