MGCP translation should return error for relations tags that don't map to valid feature code#4971
MGCP translation should return error for relations tags that don't map to valid feature code#4971brianhatchl wants to merge 5 commits intomasterfrom
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