This is a static archive of our old OSM Help Site. Please post any new questions and answers at community.openstreetmap.org.

Detection of direction of one way streets

1

If one way street is going from south to north(longitude will be increasing) will the node references in the Way of that street will be such that the longitude of the first node ref is minimum and the longitude of the last node ref will be max. In short are the node ref in Way of "one way" roads along the direction of that road?

asked 23 Aug '12, 14:17

jawadch's gravatar image

jawadch
1214412
accept rate: 0%

edited 23 Aug '12, 14:19

I think that that's probably answered on this related question.

(23 Aug '12, 15:13) SomeoneElse ♦

One Answer:

3

Yes. Technically, the order of the nd-entries in the way is what matters. The only exception is oneway=-1 where it is in the opposite direction. http://wiki.openstreetmap.org/wiki/Key:oneway tells you the details.

answered 24 Aug '12, 05:40

Roland%20Olbricht's gravatar image

Roland Olbricht
6.7k36489
accept rate: 36%