For example this:
restriction=only_left_turn
except=bicycle;moped;psv;motorcar;
restriction:hgv:only_right_turn
would be a contradiction. The first two tags tell us that everything
except those listed by except (=hgv) should only turn left, the third
tag tells us that hgv should only turn right.
The other problem is that for a given situation only one of the two
approaches is a good fit: If the turn is restricted only for a specific
vehicle the restriction:vehicle tag is the better fit. When the turn is
restricted for all except a few vehicles the except tag is better suited.
Regarding your comparison with the access tag: Yes, at first sight one
could think something like this:
restriction=only_left_turn
restriction:hgv=only_right_turn
is clear, because the more specific tag 'wins'. However, that does not
take into account that there can be an except tag (see my example above).
Do you have an example where using restriction and restriction:vehicle
at the same time makes sense?
On 28.10.22 22:24, Marc_marc wrote:
Le 28.10.22 à 22:06, easbar.m...@posteo.net a écrit :
Is there any reason not to do this?
it look like you said that you should use only one access tag
on a object and I don't understand why
I hope router understand restriction tags like access tag : the more
specific overwrite the more general, so I don't see how tags could
be contradicting tags.
_______________________________________________
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging
_______________________________________________
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging