Skip to content

SteveC/osmsplit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Split a planet file in to many countries

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published