<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Aug 1, 2016 at 8:49 PM, Frédéric Rodrigo <span dir="ltr"><<a target="_blank" href="mailto:fred.rodrigo@gmail.com">fred.rodrigo@gmail.com</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><span class="gmail-">Le 31/07/2016 à 21:34, Daniel Hofmann a écrit :<br>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
> We are still open to contribution on analyser code or suggestion, on somewhat poor documentation on the wiki, on translation or whatever else.<br>
<br>
With the focus on guidance and lanes during the last weeks and months, here are some cases I can think of.<br>
</blockquote></span>
We already have some checks on lanes<br>
<a target="_blank" rel="noreferrer" href="https://github.com/osm-fr/osmose-backend/blob/master/plugins/Highway_Lanes.py">https://github.com/osm-fr/osmose-backend/blob/master/plugins/Highway_Lanes.py</a><br>
<a target="_blank" rel="noreferrer" href="http://osmose.openstreetmap.fr/en/map/#layer=Mapnik&zoom=12&lat=38.8967&lon=-77.0161">http://osmose.openstreetmap.fr/en/map/#layer=Mapnik&zoom=12&lat=38.8967&lon=-77.0161</a><br>
<br>
But it's a complicated subject.<br>
(An issues too <a target="_blank" rel="noreferrer" href="https://github.com/osm-fr/osmose-backend/issues/115">https://github.com/osm-fr/osmose-backend/issues/115</a> )<span class="gmail-"><br></span></blockquote><div><br></div><div>Great to see some lane checks! We know lanes are difficult that's why QA for them is all the more important!<br></div><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><span class="gmail-"><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
- Lanes for roundabouts are a mess (ref. <a target="_blank" rel="noreferrer" href="https://github.com/Project-OSRM/osrm-backend/pull/2693">https://github.com/Project-OSRM/osrm-backend/pull/2693</a>) - we looked into this and came to the conclusion to not support lanes inside roundabouts or do lane anticipation for lanes in roundabouts at this point in time. Maybe we can come up with some automated checks here.<br>
</blockquote></span>
As you experienced with the subject, can you propose a check ?<span class="gmail-"><br></span></blockquote><div><br></div><div>I think the most simple check would be to detect roundabouts that have some  kind of lane tags on them. And then making sure the ways directly leading into a roundabout and the ways right before the exit have proper lane tags, or lane tags at all.<br>This would already make lane handling for roundabouts in the routing context much more practical.<br></div><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><span class="gmail-">
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
- Multiple lane markers on the same lane as in left;left|right (ref. <a target="_blank" rel="noreferrer" href="https://github.com/Project-OSRM/osrm-backend/pull/2697">https://github.com/Project-OSRM/osrm-backend/pull/2697</a>) - you probably have to check this in detail as in: are there situations and/or countries where it makes sense to have multiple times _the same_ lane marker on a single lane.<br>
</blockquote></span>
What means "left;left|right" ? And what can be wrong with this ?<span class="gmail-"><br></span></blockquote><div><br></div><div>left;left|right means you have two lanes, the leftmost lane has two arrows to the left (does this make sense at all? always mis-tagging?), the rightmost lane has one arrow to the right.<br></div><div>Example for this tagging scheme: <a href="http://wiki.openstreetmap.org/wiki/Lanes#Motorway">http://wiki.openstreetmap.org/wiki/Lanes#Motorway</a> <br></div><div><br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><span class="gmail-">
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
- Advanced lane features depend on lane information right before the turn (e.g. Lane Anticipation ref. <a target="_blank" rel="noreferrer" href="https://twitter.com/ericg/status/757887419530248192">https://twitter.com/ericg/status/757887419530248192</a>), maybe an automated check could test if there is lane information on/after e.g. motorway links but not directly before them as per the lane tagging scheme.<br>
</blockquote></span>
Do you talk about the transit:lanes proposed feature ?<span class="gmail-"><br></span></blockquote><div><br></div><div>Interesting, I haven't heard about this before, thanks for mentioning it!<br></div><div>I implemented Lane Anticipation already in OSRM without this tag, based on turn lanes and route context OSRM has at the intersections.<br></div><div>For this to work, the route steps involved have to have lane information associated with them.<br></div><div><br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><span class="gmail-">
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
- Lane access tag values not matching turn lane tag values.<br>
</blockquote></span>
We do not already make inter lanes tag check yet, but make sense.<span class="gmail-"><br>
<br>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
- Impossible or strange lane configurations such as the left most lane turning to the right crossing straight/none lanes (in right-sided driving countries).<br>
</blockquote></span>
This one, at least, look easy.<span class="gmail-"><br>
<br>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
- Roundabout mis-tagging (ref. <a target="_blank" rel="noreferrer" href="https://github.com/Project-OSRM/osrm-backend/issues/2716">https://github.com/Project-OSRM/osrm-backend/issues/2716</a>): max. radius / outlier nodes in roundabout way.<br>
</blockquote></span>
You suggest to detect gap between a node and the local shape of the roundabout ?<br>
After micro-mapping, this is micro-fixing !<br><div class="gmail-HOEnZb"><div class="gmail-h5"></div></div></blockquote><div><br></div><div>Haha, I think a good first check would be to detect outlier such as this scenario:<br><a href="https://github.com/Project-OSRM/osrm-backend/blob/c4718495a08cd2e0ee64c074297ec7bf6d451e63/features/guidance/anticipate-lanes.feature#L368-L407">https://github.com/Project-OSRM/osrm-backend/blob/c4718495a08cd2e0ee64c074297ec7bf6d451e63/features/guidance/anticipate-lanes.feature#L368-L407</a> <br><br><br></div><div>I highly appreciate what you are doing, thanks for taking the time to talk to us! :)<br></div><div><br></div><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div class="gmail-HOEnZb"><div class="gmail-h5">
Frédéric.<br>
<br>
<br>
_______________________________________________<br>
OSRM-talk mailing list<br>
<a target="_blank" href="mailto:OSRM-talk@openstreetmap.org">OSRM-talk@openstreetmap.org</a><br>
<a target="_blank" rel="noreferrer" href="https://lists.openstreetmap.org/listinfo/osrm-talk">https://lists.openstreetmap.org/listinfo/osrm-talk</a><br>
</div></div></blockquote></div><br></div></div>