Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep ZM coordinates when simplifying geometry #51695

Merged
merged 2 commits into from Feb 6, 2023

Conversation

troopa81
Copy link
Contributor

@troopa81 troopa81 commented Feb 1, 2023

Fixes #50742

Fix Visvalingam and snaptogrid, not Douglas-Peucker distance method which remove M but not Z and rely on Geos.

@troopa81 troopa81 added Processing Relating to QGIS Processing framework or individual Processing algorithms Bug Either a bug report, or a bug fix. Let's hope for the latter! backport queued_ltr_backports Queued Backports labels Feb 1, 2023
@github-actions github-actions bot added this to the 3.30.0 milestone Feb 1, 2023
src/core/qgsmaptopixelgeometrysimplifier.cpp Outdated Show resolved Hide resolved
src/core/qgsmaptopixelgeometrysimplifier.cpp Outdated Show resolved Hide resolved
@troopa81
Copy link
Contributor Author

troopa81 commented Feb 3, 2023

@rouault I treated your comments by using intermediary bool variables and fixed clazy warning at the same time. Thanks for reviewing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Area Simplify drops Z and M values
2 participants