[OSM-talk] Re: One way streets

Raphael Jacquot sxpert at esitcom.org
Tue May 16 20:54:32 BST 2006


Richard Fairhurst wrote:
> Raphael wrote:
> 
>> that's totally unuseable from a machine's point. it has no 
>> understanding of north or south or whatever. all it knows is, we have 
>> a segment with 2 points, and you can go from a to b and / or from b to a
> 
> 
> if segment.node1.long > segment.node2.long { direction=east }
> else     { direction=west }
> 
> ...surely?
> 
> I'm tempted to agree with Oliver. The danger of having 'one way' 
> dependent on the direction of the segment is that, if a segment is 
> accidentally reversed, the data becomes wrong. Having 'oneway=NE', or 
> whatever, is independent of this.
> 
> Richard

besides, this is totally stupid for everywhere else where streets are 
not in a nice grid setting. like if a street describes a nice large 
curve, it won't work




More information about the talk mailing list