<div dir="ltr">Hi<div><br></div><div><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;line-height:13px">I'm new to OSRM and the mailing list but have managed to get it all working well on a 64bit Ubuntu 14.04 server.</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;line-height:13px">I’m writing looking for help to get OSRM’s routing algorithm working directly from the command line rather than via http.<br></p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;line-height:13px"><br></p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;line-height:13px">More info....</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;line-height:13px">OSRM is already extremely fast when called using <code style="margin:0px;padding:1px 5px;border:0px;font-size:13px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;white-space:pre-wrap;background-color:rgb(238,238,238)">curl <a href="http://localhost">http://localhost</a> …</code> - however I’m looking to include it an algorithm to generate millions of realistic driving routes, and am hoping that the underlying C++ routing function might be accessible from the command line directly in some way. With a command line function that wraps around OSRM’s routing algorithm, I could call this from within R where I’m writing the rest of my code.</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;line-height:13px">My C++ skills are unfortunately at the extreme beginner level, but I have found where I might start if I were much more advanced: either the file simpleclient.cpp in the OSRM github repo or the node_osrm.cpp file in the node-osrm repo which looks like it's similar to simpleclient.cpp.</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;line-height:13px">Hopefully someone has already crossed this bridge and could I'm hoping provide some kind of simple command-line wrapper function to these underlying c++ functions so that I can avoid the http approach which I'm guessing slows things down.</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;line-height:13px"><br></p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;line-height:13px">Thanks in advance...</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;line-height:13px">Thanks so much in advance I really appreciate any help or tips to get this working</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;line-height:13px">Love osrm by the way</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;line-height:13px"><br></p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;line-height:13px">Mike</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;line-height:13px"><br></p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;line-height:13px">PS.... </p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;line-height:13px">I posted this on stackoverflow but found this mailing list and thought I might have more luck using it.</p></div><div><a href="http://stackoverflow.com/questions/28958577/open-source-routing-machine-via-the-commandl">http://stackoverflow.com/questions/28958577/open-source-routing-machine-via-the-commandl</a><br></div></div>