<br><br><div class="gmail_quote">On Thu, Jul 22, 2010 at 5:57 AM, andrzej zaborowski <span dir="ltr"><<a href="mailto:balrogg@gmail.com">balrogg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 11 July 2010 10:23, Maarten Deen <<a href="mailto:mdeen@xs4all.nl">mdeen@xs4all.nl</a>> wrote:<br>
> If you have a layout like this (use a fixed-width font):<br>
><br>
> | |<br>
> A----+-+<br>
> | +----B<br>
> C----+-+<br>
> | |<br>
><br>
> And you want to go from B to A, why would routing software say "go straight<br>
> on" and not "go right, then go left"?<br>
<br>
</div>My opinion is that it is a routing software issue after all. When a<br>
road segment is just about 5m long, the software should just skip it<br>
in the driving directions and look at the angle between the A and the<br>
B roads. It can go as far as doing what Alan said, i.e. join all of<br>
the nodes in a junction (a concentration of nodes where roads meet)<br>
into a single node, possibly in the preprocessing phase. I don't<br>
agree that this should be done in OSM data, it will prevent more<br>
clever routing direction being given when more clever routing software<br>
is written (e.g. software telling your car where to stop to wait for<br>
green light, which lane to take etc).<br>
<br>
The lengths need to be chosen carefully because in e.g. pedestrian<br>
routing, 5m may be significant (say you're looking for an exit from a<br>
maze). A car can't even make turns that tight, and you're interested<br>
in the bigger picture when you reach a junction, the routing is not<br>
clever enough to get you through a junction anyway.<br>
<div class="im"><br>
><br>
> And option is to map it like this:<br>
> | |<br>
> A----+ |<br>
> |\|<br>
> | +----B<br>
> |/|<br>
> C----+ |<br>
> | |<br>
<br>
</div></blockquote><div><br></div><div>How about grouping all of the nodes of the intersection into a relation? Routing software can treat it as a single intersection and the map can reflect how the roads are actually laid.</div>
</div>