Talk:OSM Inspector/Views/Tagging

From OpenStreetMap Wiki
Jump to: navigation, search

Check of :lanes tags

Any chance a check for :lanes tags can be integrated in this view (or in any other more fitting)? I can think of two basic checks:

  • All :lanes tags on one way must have the same number of lane-dependent values. Example: turn:lanes=x|y|z together with destination:lanes=a|b|c is correct, while turn:lanes=x|y together with destination:lanes=a|b|c is incorrect.
  • If also the key lanes=* is present the number of lane-dependent values must not be smaller than the value of the lanes-key. Example: turn:lanes=a|b|c|d (four values) together with lanes=3 (only three lanes are for the general motorized traffic) is correct. turn:lanes=a|b|c together with lanes=4 is incorrect.

Tags ending with :lanes:forward or :lanes:backward have to be treated independently. Conditional tags like e.g. hgv:lanes:conditional=no|yes|yes @ (06:00-20:00) should also be considered, i.e. treat them as unconditional tags (remove :conditional from the key and the condition from the value).

Thanks. --Imagic 08:53, 17 December 2012 (UTC)