[OSM-dev] Ordering of Segments within Ways

Andy Robinson Andy_J_Robinson at blueyonder.co.uk
Tue Apr 11 10:18:28 BST 2006


Ah, but I don't always add segments in a strict order so the storage may not
be a continuous path?

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 Etienne Cherdlu
>Sent: 11 April 2006 10:15
>To: dev at openstreetmap.org
>Subject: [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.
>
>Has any thought been given to the ordering of segments within a way?
>
>Would it be sensible to order segments by the way_segments
>sequence_id?  This would at least list the segments in the order that
>they were added to the way.
>
>--
>Etienne
>
>_______________________________________________
>dev mailing list
>dev at openstreetmap.org
>http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev







More information about the dev mailing list