Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 884 Bytes

README.md

File metadata and controls

29 lines (16 loc) · 884 Bytes

osmsplit

Split a planet file in to many countries, kind of like geofabrik's download site

running

To just run all the countries, first get a copy of the OSM planet file:

apt-get install rtorrent

rtorrent https://planet.openstreetmap.org/pbf/planet-201130.osm.pbf.torrent

Note, that isn't the latest planet file, go get a better link.

Install osmium:

apt-get install osmium-tool

Move all the data in to the root folder

cp data/* .

Run all the extracts (this will take some time). Edit the script to update which planet file you want to use.

./run_all.sh

building the osmium configs

./generate_osmium_config.rb

Uses source data from here from this repo which originally comes from Natural Earth.