NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hi to all!

I succeeded install Nomiatim with a custom extract region that is not exist en geofabrik, then I buit it from Bbbike.

Now I want to update the database, but all instructions refers to a diff from geofabrik.

How I can update de database with a fresh data of the custom region, an not from a whole country ?

Thank you

Best regards, Carlos

asked 03 May '17, 13:32

Carlos%20Brys's gravatar image

Carlos Brys
26113
accept rate: 0%

edited 03 May '17, 13:34


You first have to download an updated extract for the same region from bbbike. Then you have two options:

  1. do a full new import. If you are concerned about the interruption of service, you can import into a new database and then drop the old database and rename the new one once you are done.
  2. use "osmium" or "osmosis" to compute the difference between the new file and the old file (which you have to keep lying around for this purpose). Then load the resulting update file into your live database (using php utils/update.php --import-diff).

Option 2 is only suitable if you are doing this frequently and the number of changes is therefore small; once the number of changed objects is in the 5% to 10% range (i.e. if you do an update and 5% of all things are new or changed) then option 1 is probably more efficient.

permanent link

answered 03 May '17, 14:23

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

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:

×689
×199
×39
×17

question asked: 03 May '17, 13:32

question was seen: 3,589 times

last updated: 03 May '17, 14:23

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum