simplifyPath

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

Indices of the points to keep of an open path, always including the first and the last. Every dropped point is within toleranceMeters of the arc between its kept neighbours. A tolerance of 0 (or less) keeps everything.