[OSM-dev] Consensus on areas?
Nigel Magnay
nigel.magnay at gmail.com
Fri Sep 1 08:53:49 BST 2006
Whilst I think that that usage of ways isn't right, but you do raise an
interesting point;
what you're describing is something like
Way ("E1, Northbound") = {A,B,C,D}
Way ("E1, Southbound") = {H,G,F,E}
Collection ("E1") = { "E1, Northbound", "E1, Southbound" }
Where collection actually *isn't* a way, because there's no ordering between
the contained points (D is not connected to H)
So I guess either some kind of "grouping" structure is required, or we just
rely on the fact that you can add some extra metadata in the tags to denote
the fact that "E1, Northbound" and "E1, Southbound" are connected (e.g.
"roadPartOf=E1").
On 01/09/06, Lars Aronsson <lars at aronsson.se> wrote:
>
> On August 28, Etienne wrote:
>
> > A way *is* an ordered list of nodes (sort of). A way is defined
> > as an ordered list of segments.
>
> That's not how ways are currently used on OSM. I frequently draw
> two parallel sequences of line segments for a motorway, and then
> add all segments to one way, like this:
>
> o---A---o---B---o---C---o---D---o
>
> o---E---o---F---o---G---o---H---o
>
> way: name=E4 ; class = motorway ;
> segments = ( A, E, B, F, C, G, D, H )
>
> Then when I discover there is an off-ramp connecting at the middle
> of segment G, I remove that line segment, create a new node and
> two new line segments, then I add these segments to the way:
>
>
> o---E---o---F---o-K-o-L--o---H---o
> \
> M--o
>
> segments = ( A, E, B, F, C, D, H , K , L )
>
> Why? Because what I want is a means to name the road and classify
> it as a motorway. I don't need the sequence, only the grouping.
>
> If the sequence of line segments are grouped on a lower level,
> which is something I support, I still need a means on top of that
> to group, name and classify the parts that make up a road. The
> sequence of segments cannot fully replace the ways we have today.
>
>
> --
> Lars Aronsson (lars at aronsson.se)
> Aronsson Datateknik - http://aronsson.se
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20060901/c4186369/attachment.html>
More information about the dev
mailing list