docker-osm/docker-osmupdate
Etienne Trimaille 006cc467ab merge docker-osmupdate docker-imposm 2015-07-30 11:38:13 +02:00
..
.idea merge docker-osmupdate docker-imposm 2015-07-30 11:38:13 +02:00
71-apt-cacher-ng merge docker-osmupdate docker-imposm 2015-07-30 11:38:13 +02:00
Dockerfile merge docker-osmupdate docker-imposm 2015-07-30 11:38:13 +02:00
download.py merge docker-osmupdate docker-imposm 2015-07-30 11:38:13 +02:00
osmupdate.c merge docker-osmupdate docker-imposm 2015-07-30 11:38:13 +02:00
readme.md merge docker-osmupdate docker-imposm 2015-07-30 11:38:13 +02:00

readme.md

Docker OSM Update

You should have 3 folders : base_pbf, import_queue, import_done

Put a state file in base-pbf like this one : http://download.openstreetmap.fr/extracts/africa/south_africa.state.txt

docker build -t osmupdate . docker run -v $('pwd')import-queue/:/home/import-queue -v $('pwd')base-pbf/:/home/base-pbf -v $('pwd')import-done/:/home/import-done -d osmupdate

With -e, you can add some settings :

  • MAX_DAYS = 100, the maximum time range to assamble a cumulated changefile.
  • DIFF = sporadic, osmupdate uses a combination of minutely, hourly and daily changefiles. This value can be minute, hour, day or sporadic.
  • MAX_MERGE = 7, argument to determine the maximum number of parallely processed changefiles.
  • COMPRESSION_LEVEL = 1, define level for gzip compression. values between 1 (low compression but fast) and 9 (high compression but slow)
  • BASE_URL = http://planet.openstreetmap.org/replication/, change the URL to use a custom URL to fetch regional file updates.
  • IMPORT_QUEUE = import_queue
  • IMPORT_DONE = import_done
  • BASE_PBF = base_pbf
  • TIME = 120, secondes between two executions of the script