bool simplify(const dd::Spatial_reference_system *srs, const Geometry &g, double max_distance, const char *func_name, std::unique_ptr< Geometry > *result) noexcept
Simplifies a geometry using the Douglas-Peucker algorithm.
Definition: simplify.cc:131