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

fix erroneous mismatched_geometry warning for preset-less tags #10523

Merged
merged 2 commits into from
Dec 11, 2024

Conversation

k-yle
Copy link
Collaborator

@k-yle k-yle commented Nov 2, 2024

Closes #10522

There is no preset for disused:waterway=security_lock, so it matches the fallback presets (called "Line" and "Area"). But these two presets have different tags ({} vs { area: 'yes' }) which caused the bug.

This edge-case only occurs when the tag has a lifecycle prefix, because the preset for waterway=* does not affect features with a lifecycle preset.

@k-yle k-yle force-pushed the kh/10522-mismatched-geom branch from 5b85416 to cd521a9 Compare November 2, 2024 07:15
@k-yle k-yle added the bug A bug - let's fix this! label Nov 2, 2024
@k-yle k-yle force-pushed the kh/10522-mismatched-geom branch from 98ae680 to f5e36cf Compare November 22, 2024 14:52
Copy link
Member

@tyrasd tyrasd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks a lot!

@tyrasd tyrasd merged commit 0d8a367 into develop Dec 11, 2024
4 checks passed
@tyrasd tyrasd deleted the kh/10522-mismatched-geom branch December 11, 2024 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug - let's fix this!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

wrong error message?
2 participants