-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Indoor corridor as closed way is misidentified as an area #6800
Comments
Do you mean that under this second option, The wiki page does not suggest adding The combination is used 38% of the time, but the majority of The tag |
I understand your point and can't say I've looked at the tagging enough to weigh in on it. It's somewhat separate from this issue though (this is to do with iD correctly identifying the preset - which currently does include |
Shouldn't indoor=yes be depricated? According to the indoor tagging scheme, only five flavours of indoor are recommended of which yes isn't one. https://wiki.openstreetmap.org/wiki/Simple_Indoor_Tagging Of course this only holds for the presets, not for viewing it on the map where it would be good to still support the old tagging scheme. |
@danielsjf The simple indoor tagging scheme is for indoor-specific features, like rooms.
@jeisenbe Yes, this redundancy is intentional. Implied tags makes it harder for data consumers to accurately parse OSM data. By ensuring there's an |
Are there any renderers who currently interpret this tag? I can make a wiki page, currently it is undocumented so most database users are probably unaware of it.
That's reasonable in some cases, like requiring But it would be against established practice to require |
iD helps where it can, but there are limits to what's practical and useful. I wish OSM did more, like offer an endpoint to fetch features with implied tags filled in. As it stands, data consumers still need to be diligent about interpreting tags. |
I ended up doing this but only for the blacklist of tag values that override keys that would otherwise imply a feature is an area. This shouldn't have side effects except fixing any other lurking issues similar to this. (The function might also take slightly longer to run, but not noticeably.) |
From our discussion in Slack:
iD thinks
indoor=yes
on closed ways implies it’s an area due to the genericindoor=*
preset.highway=corridor
can't match an area, so it defaults to the generic highway preset.Some potential solutions we covered:
areaKeys
consumeaddTags
. May have some side effects.indoor=yes
tag totags
of the corridor preset and usedeprecated.json
to provide a method of upgrading the tags. This issue here is that corridors withoutindoor=yes
will no longer match the preset until upgraded.indoor=yes
which has it underaddTags
, then have the actual preset includeindoor=yes
intags
so that upon upgrading it is correctly recognised. Bit hacky.The text was updated successfully, but these errors were encountered: