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 |
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 answered 25 Oct '18, 19:33 mtmail @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
|