-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 wrong variable used to access tags #9483
Conversation
The above changes fix the bug as below- However, I found that if we change the tag to Why did this happen? I went deeper and found that the How? This is because the tags are defined only for root keys like I thought about it and could come up with a few solutions as listed below-
Then objects can be accessed like
I believe that the above solutions could help in solving this and prevent bugs from popping up in future. @tyrasd I understand that you have been putting in long hours at work, and I truly appreciate your dedication. If it's not too much of an inconvenience, would you be able to spare some time to provide suggestions? I would greatly value your input and insights. Thank you in advance for your time and consideration. Please don't mind if I overlooked or said something incorrectly. I'm still learning😄! |
For reference, this PR closes #9436, #9491, #9447, openstreetmap/id-tagging-schema#861 and openstreetmap/id-tagging-schema#920 |
If its been merged when will it be up on the website? |
is someone who has permission (@tyrasd @nickrsan?) able to close the issues listed in this comment: #9483 (comment) and ideally link those issues to this PR too? |
It looks like @1ec5 took care of the remaining open ones on this repository - I have triage permissions here, but not on id-tagging-schema, so someone else will need to take care of openstreetmap/id-tagging-schema#920 which looks to be the only one remaining open. Thanks for flagging these as ready to close. |
Fixes #9436. In the code,
key
isrealKey
with any prefix removed, like in the given issuerealKey="razed:waterway"
andkey="waterway"
.So, to access the value field of tag,
realKey
should be used and not one with removed prefix, i.ekey
.