"Superways" (or paths, as I prefer) are hierarchical, so a single 'superway' tag is not always sufficient and you need to make sure it's a correctly ordered list.<br><br>I'm sure you *could* do it with tags, but because tags are freeform, you can end up with a lot of unintentionally invalid data because they don't enforce any structure. And I find it a frustratingly reductionist argument - why not go the whole hog, abandon everything and make *everything* tags (which is, after all, equivalent to a triplestore) - well, because it's inefficient, and we ought to be modelling the fundamentals properly.
<br><br>I'm pretty sure the output format could be transformed for 'renderers' to pretend to be segment/ways, and you could probably even find a reasonable way to round-trip to editors. But I'm also not convinced it's worth it - it's not like we've got billions of editing packages out there - this topic has been going on for about a year; even if there were agreement, it's not going to suddenly change overnight. If it does change I'm sure there'll be loads of time for the editors to catch up.
<br><br><br><br><div><span class="gmail_quote">On 16/03/07, <b class="gmail_sendername">John McKerrell</b> <<a href="mailto:john@mckerrell.net">john@mckerrell.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I was putting together a response about how I thought perhaps it<br>would be better to just name these "groups" rather than "superways"<br>as I believe "superway" implies extra meaning that isn't intended.
<br>Basically all we're trying to do is assign tags to groups of ways<br>without having to do it to each way, or have an easy method of<br>selecting multiple ways.<br><br>Then I realised that surely we have a method, tagging.
<br><br>Purely as a hypothetical example which I'm definitely not<br>recommending, we could have superways by adding a superway tag to<br>ways. It would contain a number.<br><br>This assumes that we have facilities for selecting ways in editors,
<br>or downloading way information, filtered by specific tags.<br><br>Once I realised that we already have the ability, I kinda realised<br>that we don't actually need this superway tag, we just need to<br>properly tag our information. For instance, want to select all of the
<br>ways that constitute the M1 motorway? Do a query (API or editor,<br>whatever) for ref=M1 and highway=motorway. I realise that this would<br>pull out a motorway in another country that had the ref M1, but I<br>think that either that's valid, or the UK motorway should have
<br>further tags identifying it as being UK specific which you could<br>further use. I don't know that an anonymous "group" would be a better<br>solution.<br><br>As an illustration, I'll go through your examples below showing how
<br>tagging could solve this, but just in case anyone stops reading here<br>I'm not saying that this is is my final thought on how this should be<br>handled, more "I've sat down, thought this through myself and these
<br>are my personal conclusions". Feel free to try to persuade me<br>otherwise :-)<br><br>So, illustrations:<br><br>On 16 Mar 2007, at 16:31, David Earl wrote:<br><br>> There are then lots of advantages to grouping such ways.
<br>><br>> * If you break a Way at a bridge, you can group the three Ways<br>> (either side<br>> and the bridge itself) so their commonality (it's the same road)<br>> can be<br>> represented (and so on along the road).
<br><br>highway=unclassified and name="Seddon Road" and postal_code=L19<br><br>><br>> * An estate road with many branches can be represented as a whole.<br><br>highway=residential and name="Rabbit Warren" and postal_code=E17
<br><br>><br>> * If you want to represent a bus route, the route tag in theory<br>> allows this,<br>> but in practice you can't put more than one route on the same Way,<br>> so it<br>> can't also be a different bus route or a cycle network route, and
<br>> the route<br>> isn't coherent in any useful way - you have to search for where it<br>> goes<br>> next. So grouping ways to represent the concept of route would be<br>> helpful.<br>> Note this means ways can belong to more than one superway.
<br><br>Hmm... I'm certainly less sure about this. Bus routes and cycle<br>routes should probably be separate tags, but multiple bus routes...<br>I'd be tempted to say this is a problem with tags not allowing<br>multiple values that we might look at solving.
<br><br>><br>> * A non-roundabout and non-node junction could be represented<br>> (together with<br>> its name or number) as a bag of ways (consider a grade separated<br>> single<br>> carriageway with four slip roads, or a cloverleaf).
<br><br>Give everything junction_ref=5 and ref=M6<br><br>Actually, another reason that I've just thought that creating<br>anonymous groups doesn't solve anything is that they're just that,<br>anonymous, how do we then label them? We add tags to them, but what
<br>if someone creates a group with ref tag "M6", and then someone else<br>creates another group with ref tag "M6" in another country, now<br>they'll both come up.<br><br>Also, I realise that this all assumes we have ways to filter by tags,
<br>but I think adding that capability to the API would be a lot easier<br>than bringing in a new data type. Also searching by tags can easily<br>be added to the editors (and of course is already there in josm,<br>though it could probably do with being extended).
<br><br>Oh well, if David didn't like the blue touch paper I'm sure I just<br>have, I'm popping out now so I'll be interested to see if my mailbox<br>has blown up by the time I come back ;-)<br><br>John<br>
<br>_______________________________________________<br>talk mailing list<br><a href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a><br><a href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk">http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
</a><br></blockquote></div><br>