<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div>Hi,<br><br></div>This subject has come up here and there already. I'm in the process of adding public transport routes for all the buses and trams in my region.<br>
<br></div>- each variation of a route gets its own route relation<br></div><div>- at times there are 40 variations<br></div><div>- on average 2-6<br></div><div>- buses tend to use the same ways for several routes, which is logical as that' s where the stops are.<br>
</div><div><br></div>This means that there are main roads with up to 70 bus routes on them.<br><br>If somebody wants to split that into 2 oneways, it's a lot of work to fix all those route relations.<br><br></div>There is an easy solution to this problem: work hierarchically<br>
<br></div>routes should be allowed to contain subroutes<br><br></div>This is already done for some foot/hiking routes.<br><br></div>An example:<br></div><br><a href="http://www.openstreetmap.org/relation/2336780">http://www.openstreetmap.org/relation/2336780</a><br>
<br></div>which is composed of several route_parts:<br><br><a href="http://www.openstreetmap.org/relation/2336774">http://www.openstreetmap.org/relation/2336774</a><br><br></div>These route parts can then also be used for other routes which also use that same asphalt (I didn' t do that in the example).<br>
<br></div>When somebody splits/recombines a way, there are 2 route_part relations to fix and all the parents that depend on stay correct automatically.<br><br>It's necessary, of course, that the routes still get rendered when divided into subroutes like that, otherwise it' s quite useless.<br>
<br></div>Does it make sense to make a proposal for this on the wiki, or will it be shot down immediately? I've been giving this a lot of thought and I see we're about to hit a brick wall. What I don't understand is that I seem to be the only one who sees it this way. Yes, I hear people complain about the multitude of relations every once in a while, but I don't ever see anyone propose a solution.<br>
<br></div><div>It may seem more complicated this way, but it isn't really. It may also seem like adding yet more relations, but there will be less relations on the actual ways.<br><br></div><div>Maintenance of the route relations the way they are now, is an incredible waste of time. Time that could be spent in a more productive way. Either for the project or IRL.<br>
</div><div><br></div>Polyglot<br></div>