<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div><div class="im">

<blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>To be able to use the route for further processing, it would be also nice, if OSRM would return a list of original network link ID's instead of a more or less simplified route geometry and a few via points.</div>

</div></div></div></blockquote><div><br></div></div>Yes, we throw these IDs away. As a workaround you can adapt the LUA based profile to use the way ID instead of the road name and take it from there.</div></div></div></blockquote>

<div><br></div><div>Does OSRM return all ID's then, since they will be different for every road segment?</div><div>I mainly have road networks, where street have no names. Then the driving directions of OSRM are not so useful, and using ID's would be interesting.</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div><div class="im"><br><br><blockquote type="cite"><div dir="ltr">

<div class="gmail_extra"><div class="gmail_quote"><div>This is not an issue for distance matrices, where you only need to total distance or cost, but too much generalized routes was the reason, why I couldn't make use of OSRM once. And especially if the OSRM routing result could be later used again in PostgreSQL/PostGIS, having the original road network ID's would be very helpful.</div>

</div></div></div></blockquote><div><br></div></div>You can control the level of generalization with the zoom level parameter.</div></div></div></blockquote><div><br></div><div>Is there a zoom level that does not generalize at all?</div>

<div><br></div><div>Daniel</div><div><br></div><div><br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">

<div><div><div class="im"><br><br><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>So far I couldn't find anything else than this JSON output format: <a href="https://github.com/DennisOSRM/Project-OSRM/wiki/Output-json" target="_blank">https://github.com/DennisOSRM/Project-OSRM/wiki/Output-json</a></div>

</div></div></div></blockquote><div><br></div></div><div>Yep, it is not in there.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>—Dennis</div></font></span></div><br></div></div><br>_______________________________________________<br>


OSRM-talk mailing list<br>
<a href="mailto:OSRM-talk@openstreetmap.org">OSRM-talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/osrm-talk" target="_blank">https://lists.openstreetmap.org/listinfo/osrm-talk</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse">Georepublic UG & Georepublic Japan<br>eMail: <a href="mailto:daniel.kastl@georepublic.de" style="color:rgb(66,99,171)" target="_blank">daniel.kastl@georepublic.de</a><br>

Web: <a href="http://georepublic.de/" style="color:rgb(66,99,171)" target="_blank">http://georepublic.de</a></span>
</div></div>