Osrm-backend: Merge Files

Created on 26 Dec 2012  路  4Comments  路  Source: Project-OSRM/osrm-backend

I dont have enough RAM to extract the northeast.pbf. I was wondering if I can merge states such as MA and CT into one file?

Or is there an alternative for extracting with about 8 GB RAM

Most helpful comment

For future reference for anyone ending up here through Google the magic spell is
osmosis --rb finland-latest.osm.pbf --rb sweden-latest.osm.pbf --m --wb merged.osm.pbf

All 4 comments

if you just want to merge .pbf files, you can use the osmosis tool. there's currently no way to merge osrm files. another option is to spin up a virtual machine somewhere (amazon ec2 or similar) an do the processing there.

I looked at the documentation for osmosis and couldnt find out how to merge for example connecticut.osm.pbf with massachusetts.osm.pbf info map.pbf

For future reference for anyone ending up here through Google the magic spell is
osmosis --rb finland-latest.osm.pbf --rb sweden-latest.osm.pbf --m --wb merged.osm.pbf

Was this page helpful?
0 / 5 - 0 ratings

Related issues

koussaimb picture koussaimb  路  4Comments

ryanbishop12 picture ryanbishop12  路  4Comments

Bardo-Konrad picture Bardo-Konrad  路  3Comments

freenerd picture freenerd  路  4Comments

MouadSb picture MouadSb  路  3Comments