pub fn simplify_geometry(geom: &Geometry, tolerance: f64) -> GeometryExpand description
Apply Douglas-Peucker to every linear part of a Geometry. Polygon rings
are kept closed (the closing duplicate is restored if simplification
dropped it). Point / MultiPoint / Empty pass through unchanged.