[OSM-dev] Ordering of Segments within Ways

Andy Robinson Andy_J_Robinson at blueyonder.co.uk
Tue Apr 11 10:57:22 BST 2006

How does that work then when there is a fork in the way and both legs of the
fork are part of the same feature?

Andy Robinson
Andy_J_Robinson at blueyonder.co.uk 

>-----Original Message-----
>From: dev-bounces at openstreetmap.org [mailto:dev-bounces at openstreetmap.org]
>On Behalf Of Immanuel Scholz
>Sent: 11 April 2006 10:47
>To: dev at openstreetmap.org
>Subject: Re: [OSM-dev] Ordering of Segments within Ways
>> I'm looking at rendering street names on roads.
>> I expected to just be able to define a path that followed the segments
>> in a way.  But on closer inspection ways appear to be only a
>> collection of segments not an ordered list.
>No. Segments are ordered within ways.
>> Has any thought been given to the ordering of segments within a way?
>They are strictly ordered after they occour within the xml document
>uploaded to the server.
>When using the applet, you can see the order of the segments in the third
>tab of the property page of the way. You can rearrange the order by using
>the up/down buttons.
>JOSM tries to reorder the linesegemnts to be in a straight line before
>creating a way out of them. (This works only if the segments ARE in a
>straight ;). Currently you cannot rearrange the order of line segments in
>Ciao, Imi.
>dev mailing list
>dev at openstreetmap.org

More information about the dev mailing list