On 9/1/06, <b class="gmail_sendername">Lars Aronsson</b> <<a href="mailto:lars@aronsson.se">lars@aronsson.se</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On August 28, Etienne wrote:<br><br>> A way *is* an ordered list of nodes (sort of).  A way is defined<br>> as an ordered list of segments.<br><br>That's not how ways are currently used on OSM.  I frequently draw<br>
two parallel sequences of line segments for a motorway, and then<br>add all segments to one way, like this:<br><br>  o---A---o---B---o---C---o---D---o<br><br>  o---E---o---F---o---G---o---H---o<br><br>  way: name=E4 ; class = motorway ;
<br>       segments = ( A, E, B, F, C, G, D, H )<br><br>Then when I discover there is an off-ramp connecting at the middle<br>of segment G, I remove that line segment, create a new node and<br>two new line segments, then I add these segments to the way:
<br><br><br>  o---E---o---F---o-K-o-L--o---H---o<br>                       \<br>                        M--o<br><br>       segments = ( A, E, B, F, C, D, H , K , L )<br><br>Why?  Because what I want is a means to name the road and classify
<br>it as a motorway.  I don't need the sequence, only the grouping.</blockquote><div><br>For naming and classification purposes the sequence is not important.  But it is very important for route planning software, which needs to know where a road starts and where it ends.  The sequence is also important for software that wants to render street names along the path of the way.
<br><br>You are not going to get very good results if you tag roads like this and it is not the way that most people are tagging things in OSM, at least in all the examples I've seen.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
If the sequence of line segments are grouped on a lower level,<br>which is something I support, I still need a means on top of that<br>to group, name and classify the parts that make up a road.  The<br>sequence of segments cannot fully replace the ways we have today.
</blockquote><div><br>Hierarchical grouping of ways seems to be generally accepted now as a necessary feature.  If they get implemented then segments will no longer be required.  All existing segments would need to be recreated as two node ways.  This will be a very big step forward.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">--<br>  Lars Aronsson (<a href="mailto:lars@aronsson.se">lars@aronsson.se</a>)
<br>  Aronsson Datateknik - <a href="http://aronsson.se">http://aronsson.se</a><br><br>_______________________________________________<br>dev mailing list<br><a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a>
<br><a href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev">http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev</a><br></blockquote></div><br>