On Tue, 26 May 2009 08:44:54 +0300, Maarten Deen <[email protected]> wrote:

> I've searched the wiki and I have used the tag myself, but there seems  
> to be
> no documentation for restriction= ?
>
> How do you tag a restriction on a crossing between a major and a minor  
> road
> where the major road is only allowed to go straight on and the minor  
> road has
> no restrictions?
>
> Or in general: where the two roads do not have the same restriction.
>

Split the major road at the crossing, then add two relations. Both  
relations will have the two parts of the major road and the node at the  
crossing. Both will have restriction=only_straigh_on, and the major road's  
parts will have roles to and from.

The first relation would look like this:

type=restriction
restriction=only_straight_on

 from : major road part 1
via  : node at the crossing
to   : major road part 2


And the other would be:

type=restriction
restriction=only_straight_on

 from : major road part 2
via  : node at the crossing
to   : major road part 1

_______________________________________________
talk mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/talk

Reply via email to