<div dir="ltr"><div>Hi,<br><br></div>I'm writing this as an OSM mapper and user of the OSRM api, I'm not an OSRM dev, so I might make some mistakes here.<br><div><div><div class="gmail_extra"><br><div class="gmail_quote">2015-11-24 15:20 GMT+01:00 Bjorn Madsen <span dir="ltr"><<a href="mailto:bm@multiagenttechnology.com" target="_blank">bm@multiagenttechnology.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-size:12.8px"><span style="font-size:12.8px">My name is Bjorn, and I'm the director at a commercial project that needs something like the Open Source Routing Machine with Openstreet Map where you both appear rather active. You can find a little bit about me on </span><a href="https://uk.linkedin.com/in/bmadsen" style="font-size:12.8px" target="_blank">linkedin</a><span style="font-size:12.8px"> and </span><a href="http://www.multiagenttechnology.com/" style="font-size:12.8px" target="_blank">Multi-Agent Technology</a><span style="font-size:12.8px"> London. </span></div><div style="font-size:12.8px"><br><b>Question</b>: The most pressing question I have is whether OSRM is suitable for truck/lorry routing in its current state?</div></div></blockquote><div><br></div><div>The passability and driving speed of road types is determined by lua scripts (see <a href="https://github.com/Project-OSRM/osrm-backend/blob/develop/profiles/car.lua">https://github.com/Project-OSRM/osrm-backend/blob/develop/profiles/car.lua</a> for the example car script). So you can at least make one script per vehicle type (split up your lorries in discrete types, and have a script for every type).<br><br></div><div>Now, OSRM is suited, but I don't know if OSM data is suited. Lorry tagging is something not many mappers do (not many mappers need maxweight or maxlength properties of a way), so data may be sparse. But this depends a lot on the region you're operating in. It's generally known that Europe has better coverage than North America, but even in Europe such tagging will depend a lot on the region you're in.<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I have no need to visualize the map data. Only calculation of the path, length and duration of the route for heavy goods vehicles for planning purposes. This means that I need to check for constraints such as weight, low bridges and width-limitations along the path. </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">If queries are as quick as on the demo-server for the osrm-project, then time is on our side. In my lack insight, I imagine that this can be done in iterations, where first a path is chosen for cars, which subsequently is inspected for these constraints. If constraints are detected, alternatives will need to by discovered. I'm sure you have better ideas?</div><div style="font-size:12.8px"><br></div></div></blockquote><div>The demo server is what it is, a demo. If you want truck routing, you'll have to install your own server with your own profiles.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-size:12.8px">I'm also on Google hangout (using this email) if you'd prefer to talk instead of writing longer emails.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thanks again for getting back to me. </div><span class=""></span></div><a href="https://lists.openstreetmap.org/listinfo/osrm-talk" rel="noreferrer" target="_blank"></a></blockquote><div><br></div><div>As for the return service you propose, if you use the data for truckers, it would be great if you could get those truckers to help contribute data to the database. In contrast to the average mapper, they will care about maxweight and maxlength properties, and will want to correct those where wrong. In turn, this also makes your data and your routes better.<br><br></div><div>It can be achieved by giving the truckers a training on how to add that data to OSM, or give them some option to add notes to OSM (in which case these notes will have to be interpreted by regular mappers, and mapped).<br><br></div><div>Regards,<br></div><div>Sander<br></div></div><br></div></div></div></div>