-
Notifications
You must be signed in to change notification settings - Fork 74
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
MGCP translation should return error for relations tags that don't map to valid feature code #4971
base: master
Are you sure you want to change the base?
Conversation
I put comments in the ticket as well. Findings so far:
Since the translator isn't run when there are no tags to translate - I.e. only having the "type" tag - I think we could modify the core to add an error tag if the translator isn't run on a feature. I don't know what this would impact. I tried using an osm file with two multi polygons, one with a tag (
Trying the same file but changing
Getting curious, I created another OSM file that has:
Results:
Looking at this, it seems that tags on a relation stomp on tags on members. |
So the upshot is the translation server clients need to send "full" relations to get the proper behavior? As for what the proper behavior should be. I don't think we want As for whether a relation with only |
The other thing we could do (which is done for |
To run the failing test illustrating the bug:
fixes #4970