[OSM-dev] Relationships - working prototype

Dave Stubbs osm.list at randomjunk.co.uk
Thu Aug 16 14:37:43 BST 2007


On 16/08/07, Floris Looijesteijn <osm at floris.nu> wrote:
> i'm also very excited about it but a bit busy with other
> things at the moment. i do have one thing of which i'm
> not sure if it fits this model.
>
> it seems that that the model always makes a relation
> between two segments(ways?) and a node.

The general entity model is between any number of ways and nodes. So
it could be between 2 nodes, or between 2 ways or between 10 ways and
a node... etc.

>
> if i am driving on a big road, with splitted ways for
> each direction it is sometimes forbidden to turn
> around at an intersection. but you are allowed to
> turn right or left.

The actual turn restriction suggested might not fit that scenario, but
you could come up with one that did. ie:
 entity_type=prohibited_manoeuvre
 name=No U-turn
 from=way1
 to=way2
 via=small_little_way




More information about the dev mailing list