<div dir="ltr">I use osmosis too. My use-case is multiple cities across the world, but only within those cities. I DL my city files from <a href="https://mapzen.com/data/metro-extracts">https://mapzen.com/data/metro-extracts</a> and use osmosis to merge them into one large pbf. it greatly decreases server load and extraction time.</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><b>Alex Farioletti</b><br><div><b><a value="+14153121674">415.312.1674</a></b><div><i style="font-weight:bold"><a href="http://tcbcourier.com" target="_blank">tcbcourier.com</a> </i></div></div></div></div></div>
<br><div class="gmail_quote">On Wed, Nov 18, 2015 at 1:11 PM, Julien Coupey <span dir="ltr"><<a href="mailto:julien@coupey.fr" target="_blank">julien@coupey.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Quite similar to Daniel's suggestion, you can use osmctools to convert and merge two or more files.<br>
<br>
osmconvert 1.osm.pbf -o=1.o5m<br>
osmconvert 2.osm.pbf -o=2.o5m<br>
osmconvert 1.o5m 2.o5m -o=12.osm.pbf<br>
<br>
You can also drop unnecessary tags in the process to make extraction faster.<br>
<br>
See <a href="http://wiki.openstreetmap.org/wiki/Osmconvert" rel="noreferrer" target="_blank">http://wiki.openstreetmap.org/wiki/Osmconvert</a> and <a href="http://wiki.openstreetmap.org/wiki/Osmfilter" rel="noreferrer" target="_blank">http://wiki.openstreetmap.org/wiki/Osmfilter</a>.<span class="HOEnZb"><font color="#888888"><br>
<br>
Julien</font></span><div><div class="h5"><br>
<br>
Le 18/11/2015 21:52, <a href="mailto:kunkenj@mskcc.org" target="_blank">kunkenj@mskcc.org</a> a écrit :<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hi folks,<br>
<br>
Am trying to make use of osrm across multiple states within the US, and<br>
other than making use of north-america-latest.osm.pbf, which is 7 GB in<br>
size, we were hoping to make use of pbf files from multiple states,<br>
which are relatively smaller.<br>
<br>
Currently, osrm-routed consumes input files having the same base name as<br>
part of the input argument. In this scenario, we’d be forced to use<br>
input files having the north-america as the base name.<br>
<br>
Might there be a way we can either combine multiple base names (i.e.<br>
from multiple states) and/or merge output files from osrm-prepare into a<br>
single set of files having the same base name?<br>
<br>
Thank you,<br>
<br>
Josh<br>
<br>
=====================================================================<br>
<br>
Please note that this e-mail and any files transmitted from<br>
Memorial Sloan Kettering Cancer Center may be privileged, confidential,<br>
and protected from disclosure under applicable law. If the reader of<br>
this message is not the intended recipient, or an employee or agent<br>
responsible for delivering this message to the intended recipient,<br>
you are hereby notified that any reading, dissemination, distribution,<br>
copying, or other use of this communication or any of its attachments<br>
is strictly prohibited. If you have received this communication in<br>
error, please notify the sender immediately by replying to this message<br>
and deleting this message, any attachments, and all copies and backups<br>
from your computer.<br>
<br>
<br>
<br></div></div><span class="">
_______________________________________________<br>
OSRM-talk mailing list<br>
<a href="mailto:OSRM-talk@openstreetmap.org" target="_blank">OSRM-talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/osrm-talk" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/osrm-talk</a><br>
<br>
</span></blockquote><div class="HOEnZb"><div class="h5">
<br>
_______________________________________________<br>
OSRM-talk mailing list<br>
<a href="mailto:OSRM-talk@openstreetmap.org" target="_blank">OSRM-talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/osrm-talk" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/osrm-talk</a><br>
</div></div></blockquote></div><br></div>