Thursday, 31 January 2013

Relation:restriction

Tags:

























































← Older revisionRevision as of 19:32, 31 January 2013
Line 34:Line 34:

The "from" and "to" members must start/end at the "via" node (see 1).


The "from" and "to" members must start/end at the "via" node (see 1).


|-


|-

-
| restriction:hgv, restriction:caravan, restriction:motorcar, restriction:bus, restriction:agricultural, restriction:motorcycle, restriction:bicycle, restriction:hazmat || no_right_turn / no_left_turn / no_u_turn / no_straight_on / only_right_turn / only_left_turn / only_straight_on / no_entry / no_exit

+
| restriction:hgv, restriction:caravan, restriction:motorcar, restriction:bus, restriction:agricultural, restriction:motorcycle, restriction:bicycle, restriction:hazmat<ref name="nbc">De-facto this method has no backward compatibility: its using damages some routing in some cases, because there is software, which considered restrictions like type=restriction + restriction:hgv=only_straight_on with line A with role ''from'' and line B with role ''to'' as a restriction to drive from line A to line B. This method is under discussing now - perhaps, it will be deleted. Because of this reason it is better to use restriction like type=restriction:hgv + restriction=only_straight_on</ref> || no_right_turn / no_left_turn / no_u_turn / no_straight_on / only_right_turn / only_left_turn / only_straight_on / no_entry / no_exit<ref name="nbc"/>


|


|

-
Restriction refers only to appropriate type of vehicle (you can use type=restriction:<type> + restriction= or type=restriction + restriction:<type>=)

+
Restriction refers only to appropriate type of vehicle (you can use type=restriction:<type> + restriction= or type=restriction + restriction:<type>=<ref name="nbc"/>)


|-


|-


| except || [[Key:psv|psv]] / bicycle / hgv / motorcar || The restriction does not apply to these vehicle types (more than one: except=bicycle;psv)


| except || [[Key:psv|psv]] / bicycle / hgv / motorcar || The restriction does not apply to these vehicle types (more than one: except=bicycle;psv)


No comments:

Post a Comment