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
Support more keys in the access=* field #3945
Comments
I think hgv should be added as an preset to the access presets in id. This way it's easier for beginners to map truck access restrictions. (See: #3946) |
I like this suggestion because it would let us support more keys, and at the same time we could drop the existing keys for things like
Yes, I never heard of |
I think the access field should show a complete list of all present access tags of the feature. This should include any ":conditional", ":lanes", ":forward", or ":backward" key modifiers or their combinations, because we should not display misleading incomplete information.
In addition country and highway type specific defaults needs to be considered (https://wiki.openstreetmap.org/wiki/OSM_tags_for_routing/Access-Restrictions). In case we don't want to make the behavior country specific, we can display "country default" or "???" instead of a clear (but maybe wrong) "yes" or "no" as the grey default value where required.
I wouldn't call it almost never used, there are 750000 uses of horse, and nearly 4 milllion uses of foot and bicycle each.
It's in the wiki since 2008, and there are 152000 uses plus 13000 uses of vehicle:conditional. |
It would be nice if at least the I'm unsure if adding another access category to Allowed Access wouldn't make this section too confusing, but maybe iD could support this key in the background, i.e.:
|
this would be highly useful, too often people using iD add useless
I am not sure is it the best idea, it seems to be a bit too smart.
What about other vehicles? |
I thought that bicycles are the only non-motor vehicles, but i've just noticed that there are also horse-drawn carriages (carriage=*), so this was a bad idea of mine. Maybe it's still best if a Vehicle entry would be added to Allowed Access. |
I've almost submitted a new issue - but now that I've found this discussion, I realize it would have been a duplicate. So therefore I'm posting my prepared issue here as a comment instead:
|
Just had a quick look at the code to estimate the effort to tackle at least the iD/modules/ui/fields/access.js Lines 228 to 246 in a018d27
|
@1ec5 mentioned this issue to me, and I created a mockup for a more compact access UI, though I was not aware of the existing proposal for a tree view when I made it. |
A user struggled to update access tags, as "motorcar" isn't visible in the upper part of the editor.
Initially motor_vehicle=agricultural and motorcar=no were set. As he couldn't see motorcar in the upper editor he couldn't change it. (In later attempts he added access=yes, foot=yes, motor_vehicle=yes, bicycle=yes and horse=yes which all had no effect to the more specific tag motorcar).
I suggest to add more possible tags, e.g. everything from https://wiki.openstreetmap.org/wiki/Key:access#Transport_mode_restrictions . As just adding everything would be too much I think most keys should be hidden with a (+) icon which opens a tree.
Also, the default (grayed out "yes") needs to be updated depending on higher access tags: When a way has vehicle=no motor_vehicle=destination the default value of bicycle is still displayed as grayed out "yes", however it should be "no" as bicycle is included in vehicle. As I see it from #2213 only the value of "access" is inherited and not "vehicle".
The text was updated successfully, but these errors were encountered: