I read the installation guide on http://wiki.openstreetmap.org/wiki/Nominatim/Installation but I'm still a bit hazy in my understanding of updates. I currently have North America data (from http://download.geofabrik.de/) successfully installed and running on my machine. I'm trying to update my data to the full planet data - I just downloaded the most recent .osm.pbf planet data from http://ftp5.gwdg.de/pub/misc/openstreetmap/planet.openstreetmap.org/pbf/

Currently, the only thing I know how to do is wiping the entire DB clean and importing again from scratch, but figured that would be unnecessary if I could simply update on top of what I already have.

What do I have to do to update my current map data? Would my service be unavailable during the update? Thanks!

asked 06 Feb '14, 01:46

baekacaek's gravatar image

baekacaek
176121317
accept rate: 0%

edited 06 Feb '14, 01:47


(See also Import more OSM files into Nominatim.)

You could theoretically produce a data file that contains the whole world without N America and load that, or load continent after continent. However this is likely to be much slower than simply starting from scratch with a full planet file.

If you choose to start from scratch then your service will be unavailable while you import, but if you choose to add data piecemeal then your service will likely be very slow during the update period.

If you have the luxury of a second server with enough fast disk capacity to do a full OSM import, and that server has the same software versions as your production machine, then you could run a full import on that server and then, with a very short interruption in availability, simply copy over the PostgreSQL database directory to your production machine.

permanent link

answered 06 Feb '14, 08:47

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
66.2k806121025
accept rate: 24%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×517
×490
×179
×157

question asked: 06 Feb '14, 01:46

question was seen: 2,414 times

last updated: 06 Feb '14, 08:47

powered by OSQA