Skip to content
Max von Hippel edited this page Nov 16, 2016 · 2 revisions

You can use this project to store data from anywhere in the world, but ours comes from the OSM Full History Planet Dump, which we parse to a GeoDjango/PostGIS database using PyOsmium bindings on our Django Base Command. This repository includes all the code necessary to replicate our database. You can find the relevant base command here.

As of 5 November 2016, if you count each version of each feature as unique, the full history dump for the world contained:

  • 5,486,859,684 nodes
  • 18,423,892 relations
  • 713,390,264 ways

Running my import Django Base Command in a VirtualBox Ubuntu 16.0.4 virtual machine on a Windows 10 host box, I was able to parse all of Nepal to PostGIS in about 2 weeks. I am sure there must be more efficient ways to do this than the way I did it, so if you have a better solution, please let me know! (The history-splitter tool requires outdated dependencies and was not a viable solution for us, which is why we build a new solution.)

Clone this wiki locally