Bug report #18083
Simplify map tool - don't use douglas-peucker simplification
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||25979|
The simplify map tool currently forces Douglas-Peucker simplification (via the QgsGeometry::simplify method). Unfortunately this simplification technique is not ideal as it preserves jagged spikes within line work, making it unusable for cartographic simplification.
A better choice would be to utilise Visvalingam simplification (which is available from the QgsMapToPixelGeometrySimplifier class) - this simplification technique prefers to eliminate narrow jagged spikes, resulting in much more pleasing cartographic simplification.
(Or better - expose this choice to users so that they can select an appropriate simplification technique for their requirements)