Jakka30 wrote:
I am using it as

 boost::geometry::simplify(orgLineString,simplifiedLineString,maxMoveDistance);

 I am assuming that the above code does 2D douglas-Peucker, is it correct?


If the coordinate system is cartesian it does N-dimensional Douglas-Peucker, if the coordiante system is spherical-equatorial it does 2D simplification.

Could you share a specific case when this function doesn't work as you expect?

Regards,
Adam