Skip to content
This repository has been archived by the owner on Jan 30, 2021. It is now read-only.
jperl edited this page Sep 9, 2012 · 6 revisions

For loading US of A

  • us-midwest.osm.bz2
  • us-northeast.osm.bz2
  • us-pacific.osm.bz2
  • us-south.osm.bz2
  • us-west.osm.bz2

Unzip them all

sudo apt-get pbzip2

pbzip2 -r -d file.osm.bz2

Combine the files using OSMConvert

Download

http://m.m.i24.cc/osmconvert.c

Compile

cc -x c osmconvert.c -lz -O3 -o osmconvert

Combine

./osmconvert us-west.osm us-midwest.osm us-south.osm us-northeast.osm us-pacific.osm -o=USA.osm

Run OSRM extract and process

https://github.com/DennisOSRM/Project-OSRM/wiki/Running-OSRM