[OSRM-talk] osrm-routed and multiple states

Daniel Patterson daniel at mapbox.com
Wed Nov 18 21:00:10 UTC 2015


  You can merge OSM files together with osmosis (http://wiki.openstreetmap.org/wiki/Osmosis <http://wiki.openstreetmap.org/wiki/Osmosis>):

    osmosis --rx 1.osm --rx 2.osm --rx 3.osm --merge --merge --wx merged.osm

  and then feed that to OSRM.  I have no idea if osmosis will properly merge nodes on the edges, but I would hope so.
  Give it a go and let us know if it works :-)


> On Nov 18, 2015, at 3:52 PM, kunkenj at mskcc.org wrote:
> Hi folks,
> Am trying to make use of osrm across multiple states within the US, and other than making use of north-america-latest.osm.pbf, which is 7 GB in size, we were hoping to make use of pbf files from multiple states, which are relatively smaller.
> Currently, osrm-routed consumes input files having the same base name as part of the input argument.  In this scenario, we’d be forced to use input files having the north-america as the base name.
> Might there be a way we can either combine multiple base names (i.e. from multiple states) and/or merge output files from osrm-prepare into a single set of files having the same base name?
> Thank you,
> Josh
> =====================================================================
> Please note that this e-mail and any files transmitted from
> Memorial Sloan Kettering Cancer Center may be privileged, confidential,
> and protected from disclosure under applicable law. If the reader of
> this message is not the intended recipient, or an employee or agent
> responsible for delivering this message to the intended recipient,
> you are hereby notified that any reading, dissemination, distribution,
> copying, or other use of this communication or any of its attachments
> is strictly prohibited. If you have received this communication in
> error, please notify the sender immediately by replying to this message
> and deleting this message, any attachments, and all copies and backups
> from your computer.
> _______________________________________________
> OSRM-talk mailing list
> OSRM-talk at openstreetmap.org <mailto:OSRM-talk at openstreetmap.org>
> https://lists.openstreetmap.org/listinfo/osrm-talk <https://lists.openstreetmap.org/listinfo/osrm-talk>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20151118/2bb7b06c/attachment.html>

More information about the OSRM-talk mailing list