[OSM-dev] Relationships - working prototype

Floris Looijesteijn osm at floris.nu
Thu Aug 16 14:26:49 BST 2007


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.

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.

how do i model this, because there is a little segment
between the two lanes that doesn't have much to do
with this restriction.

any ideas?

floris looijesteijn


----- Original Message ----- 
From: "David Earl" <david at frankieandshadow.com>
To: "Frederik Ramm" <frederik at remote.org>
Cc: "dev" <dev at openstreetmap.org>
Sent: Thursday, August 16, 2007 11:46 AM
Subject: Re: [OSM-dev] Relationships - working prototype


> On 14/08/2007 00:16, Frederik Ramm wrote:
>> I expect your verdict when I'm back ;-)
> 
> 
> I think this prototype will solve a huge swath of the problems with 
> routes, disjoint streets, turn restrictions and so on.
> 
> I thoroughly commend it. The sooner it is implemented the sooner many of 
> the hacks currently being proposed will go away.
> 
> I'm surprised there hasn't been much response on the list at all, let 
> alone excitement about it. The fact that you've done the donkey work of 
> incorporating it in JOSM and the API means it has a good chance of 
> success; and I particularly like the fact it will not break existing 
> data consumers (unless they object to an XML element type they do not 
> understand) yet osmarender will find it easy to consume the new data i 
> due course, to label routes and so on.
> 
> One thing I would like to see is a (possibly optional) lat/lon for the 
> entity. (To be consistent, this would have its own distinct property, 
> rather than a lat=, lon= tag, like a node, but it could be done with 
> tags) This means you could have something visually to select in JOSM 
> representing the entity, even if the lat/lon doesn't have any 
> geographical significance in its own right; but also it can serve as a 
> strong hint to to a renderer where to put any symbol that might be 
> needed to show the entity (a no right turn symbol for example) - while 
> working it out is possible, it might be tricky, and having a helping 
> hand will be useful.
> 
> Do it!
> 
> David
> 
> PS, as you say, "entity" is a very general name. While the name isn't 
> particularly important, since what it fundamentally provides is a way of 
> grouping ways, then if a generic term is wanted "group" might be better, 
> or to make it less generic, "waygroup" or "way-group".
> 
> 
> 
> 
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev




More information about the dev mailing list