<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>it appears that the problem of single/double/dashed lines is neither easy to tag nor easy to use programmatically. In my opinion the easiest way to handle this kind of data is to map turn restrictions.</div><div><br></div><div>Here's how OSRM handles U-turns and turn restrictions. Generally, U-turns are forbidden with one exception: At the end of a dead-end street to be able to leave if you place a via point on the street. Apart from that, all turns are allowed if not explicitly forbidden by restrictions. This kind of modeling is also used elsewhere in other commercial routing application (without saying names).</div><div><br></div><div>This modeling has the advantage that double/single/dashed lines need to be handled only at intersections. IMHO, it is much easier to allow/forbid the turns at intersections explicitly as given by line markings on the ground. Even if we had some nice and easy way to tag those lines, it would not actually save orders of magnitude of data to process.</div><div><br></div><div>--Dennis</div><div><br></div><div>Am 18.04.2013 um 02:36 schrieb Martin Koppenhoefer <<a href="mailto:dieterdreist@gmail.com">dieterdreist@gmail.com</a>>:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/17 Philip Barnes <span dir="ltr"><<a href="mailto:phil@trigpoint.me.uk" target="_blank">phil@trigpoint.me.uk</a>></span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im"><br>
</div>As a matter of interest, in Countries where it is illegal to turn across<br>
a solid line, for there to be a junction without a break in the line?<br>
<br></blockquote><div><br></div><div><br></div><div style="">usually at junctions there are no solid lines, at the most there will be interrupted lines or no lines at all (or when there are solid lines it would indeed be forbidden to turn at the junction).</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I have driven in a lot of European countries and have noticed that there<br>
are gaps in solid lines for every driveway. I have never come across a<br>
situation where a turn is prevented by a line.<br></blockquote><div><br></div><div><br></div><div style="">there are lots of these situations, but there are also lots of interruptions for driveways, gasstations etc., yes.</div>
<div style=""><br></div><div style="">Example crossing out of town where you can't turn:</div><div style=""><a href="http://maps.google.de/maps?hl=de&ll=41.349801,13.75293&spn=0.013482,0.027788&t=m&z=16&layer=c&cbll=41.349827,13.753092&panoid=0dBb2Nn9tjfBufqt37g6xw&cbp=12,94.59,,0,23.63">http://maps.google.de/maps?hl=de&ll=41.349801,13.75293&spn=0.013482,0.027788&t=m&z=16&layer=c&cbll=41.349827,13.753092&panoid=0dBb2Nn9tjfBufqt37g6xw&cbp=12,94.59,,0,23.63</a><br>
</div><div style=""><br></div><div style=""><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
This proposal would also need routers to understand the law in different<br>
countries.</blockquote><div><br></div><div><br></div><div><br></div><div style="">yes, at least if you wanted to handle also the stranger cases like the UK which allows turning on single solid lines. In Germany for instance I am not aware of any difference between a single and a double solid line (I think usually you get double lines close to situations where one of the double lines gets dashed, hence allowing crossing the double line only when coming from this side).</div>
<div style=""><br></div><div style="">cheers,</div><div style="">Martin</div></div>
</div></div>
_______________________________________________<br>OSRM-talk mailing list<br><a href="mailto:OSRM-talk@openstreetmap.org">OSRM-talk@openstreetmap.org</a><br>http://lists.openstreetmap.org/listinfo/osrm-talk<br></blockquote></div><br></body></html>