[OSM-talk] Re: One way streets

Richard Fairhurst richard at systemeD.net
Tue May 16 20:01:29 BST 2006


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





More information about the talk mailing list