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

Wants to update nominatim DB daily(1 day data at a time).

My local.php:

@define('CONST_Replication_Url', 'https://ftp5.gwdg.de/pub/misc/openstreetmap/planet.openstreetmap.org/replication/hour'); @define('CONST_Replication_Update_Interval', '86400'); @define('CONST_Replication_Recheck_Interval', '3600');

But, Updating 2 or 3 hrs data only everytime.

select * from import_osmosis_log ;

batchend       | batchseq | batchsize |      starttime      |       endtime       | event   ---------------------+----------+-----------+---------------------+---------------------+--------

2018-10-01 03:59:02 |    53037 |  92005726 | 2018-10-25 05:10:19 | 2018-10-25 05:13:00 | import  2018-10-01 03:59:02 |    53037 |  92005726 | 2018-10-25 05:13:00 | 2018-10-25 05:15:56 | index  2018-10-01 06:58:49 |    53040 |  90095798 | 2018-10-25 05:16:08 | 2018-10-25 05:18:16 | import  2018-10-01 06:58:49 |    53040 |  90095798 | 2018-10-25 05:18:16 | 2018-10-25 05:25:14 | index

Is there any config issue ?

Also tried to update 4 days replication data as: https://ftp5.gwdg.de/pub/misc/openstreetmap/planet.openstreetmap.org/replication/day & CONST_Replication_Update_Interval 345600. But still 1 day data only updating.

asked 25 Oct '18, 06:38

Rajavelu_M's gravatar image

Rajavelu_M
253454858
accept rate: 33%

edited 25 Oct '18, 15:20


CONST_Replication_Update_Interval value is in seconds. So 3600 = 1 hour. 86400 = 24 hours. 345600 = 4 days. You probably want to use /replication/day and 86400. The CONST_Replication_Recheck_Interval should be smaller, could even be 900 (http://nominatim.org/release-docs/latest/admin/Import-and-Update/#updates). With ./utils/update.php --import-osmosis only one day will be updated. Using ./utils/update.php --import-osmosis-all it will run several updates in a loop until there are no longer updates available.

permanent link

answered 25 Oct '18, 19:33

mtmail's gravatar image

mtmail
4.8k1574
accept rate: 27%

@mtmail: Thanks!

In old Nominatim versions, I can update more than 1 day data at a time. But Now(in 3.1.0) only 1 day data updating in every loop though i given CONST_Replication_Update_Interval for 4 days(345600).

(26 Oct '18, 06:50) Rajavelu_M

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
×20
×11
×5

question asked: 25 Oct '18, 06:38

question was seen: 2,260 times

last updated: 26 Oct '18, 06:53

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