updater for osm2pgsql database
Python
Switch branches/tags
Nothing to show
Latest commit db6d974 Nov 26, 2015 @Komzpa roads style
Permalink
Failed to load latest commit information.
assets roads style Nov 26, 2015
config roads style Nov 26, 2015
.gitignore Initial commit Sep 7, 2012
README.md Update README.md Dec 6, 2012
augmented_diff_import.py Overpass augmented diff importer, initial commit Sep 21, 2014
furry.py drop cumulative dump Jan 22, 2014

README.md

furry-sansa

Updater for osm2pgsql database and rendering stylesheets used by Komzpa.

Name suggested by github project name generator :3

Special thanks to:

  • Kai Krueger aka apmon, osm2pgsql maintainer who added almost all features I needed;
  • Jochen Topf, for openstreetmapdata.com source of coastlines;
  • OSM community, who created the best world map.

Depends:

Workflow:

  • Write a config file for your hardware and intentions;
  • get OpenStreetMap dump. If you define a set of dumps in config file, it's as easy as:
python furry.py config/your_config.conf synthdump

The process will automatically update merged dump with latest data using minutely, hourly and daily diffs.

  • alternatively, if you downloaded dump yourself and want to update it,
python furry.py config/your_config.conf updatedump
  • load data to postgres database.
python furry.py config/your_config.conf import
  • create all indexes you need for postgres db to work properly.
python furry.py config/your_config.conf index
  • for minutely updates, you need to get new diffs from OpenStreetMap server
python furry.py config/your_config.conf getdiff
  • to actually apply diff to database,
python furry.py config/your_config.conf diff2db
  • to update your dump afterwards using the same downloaded diffs, once you have some diffs downloaded:
python furry.py config/your_config.conf updatedump