Talk:Key:oneway:foot

From OpenStreetMap Wiki
Jump to navigation Jump to search

conditional restrictions

This is additional explanation for my revert

Why conditional restrictions are relevant here? Conditional restrictions are about :conditional suffixed tags depending on some condition, not status for various modes. For example oneway:bicycle=yes (or oneway:foot=yes) is not a conditional tag, oneway:conditional=yes @ Su is a conditional tag. oneway:foot=* is mode specific restriction for oneway=*, like bicycle=* is mode specific restriction overriding access=* (and bicycle=* is not a case of Conditional restrictions) Mateusz Konieczny (talk) 10:23, 7 January 2020 (UTC)

They define the general syntax of tags (fields in square brackets [..] are optional):
<restriction-type>[:<transportation mode>][:<direction>]:conditional
  = <restriction-value> @ <condition>[;<restriction-value> @ <condition>]:
So while you are right that "conditional" is not part of oneway:foot, it still helps when the tags are following this order, which was first defined/written down for conditional restrictions, but is generally applied, and it makes tag use more consistent / easier to apply and extend.
--Dieterdreist (talk) 11:40, 7 January 2020 (UTC)
According to this definition oneway:foot=yes is not case of this kind of conditional restrictions but of transport-type restriction. Note that syntax of conditional restrictions that you posted here considers mandatory to have conditional restriction "restriction-value @ <condition>" part is mandatory, note that this part is missing from oneway:foot=yes. Mateusz Konieczny (talk) 21:30, 8 January 2020 (UTC)
Note: I posted on tagging mailing list looking for more feedback Mateusz Konieczny (talk) 21:33, 8 January 2020 (UTC)
I know that "conditional" is mandatory for conditional restrictions (I already wrote it above), but the formal definition of nested tagging as documented in conditional restrictions is generally used, it is not limited to conditional restrictions. --Dieterdreist (talk) 21:53, 8 January 2020 (UTC)

tagging mailing list

@Dieterdreist: - I started discussion on tagging mailing list about this oneway mess Mateusz Konieczny (talk) 12:37, 19 March 2022 (UTC)