[Geocoding] update nominatim data
mirko perillo
mperillo2012 at gmail.com
Mon Feb 10 08:29:46 UTC 2014
Hi,
I tried to set --osm2pgsql-cache 500 parameter and I've the warning
anymore.
I ran the script on friday, today is monday and the script hasn't output.
This is my settings/state.txt content
# original OSM minutely replication sequence number 724874
timestamp=2014-01-31T21\:55\:02Z
sequenceNumber=330
So there are some updates to receive.
any suggestions ? I think that the update script must have some output
messages to understand what the script does...but when I run it I see
anything
thanks
Mirko
On 02/01/2014 05:25 PM, Sarah Hoffmann wrote:
> Hi,
>
> On Tue, Jan 28, 2014 at 10:36:52AM +0100, mirko perillo wrote:
>> Hi,
>>
>> I want to update data in my nominatim installation (2.1)
>>
>> So I followed the instructions of nominatim wiki
>>
>> 1. I create settings/local.php file and I put in it
>>
>> <?php
>> @define('CONST_Replication_Url',
>> 'http://download.geofabrik.de/europe/italy-updates');
>> @define('CONST_Replication_MaxInterval', '40000'); // Process
>> each update separately, osmosis cannot merge multiple updates
>> @define('CONST_Replication_Update_Interval', '86400'); // How
>> often upstream publishes diffs
>> @define('CONST_Replication_Recheck_Interval', '900'); // How long
>> to sleep if no update found yet
>>
>> 2. I move original settings/configuration.txt and settings/state.txt
>> and I run
>>
>> ./utils/setup.php --osmosis-init
>>
>> (script ended OK and new configuration and state file are created)
>>
>> 3. I run
>>
>> ./utils/setup.php --create-functions --enable-diff-updates
>>
>> (script ended OK)
>>
>> 4. I run
>>
>> ./utils/update.php --import-osmosis-all --no-npi
>>
>> but on screen I see only this message (and nothing more)
>>
>> WARNING: resetting cache memory to 49
> That warning is worrying because osm2pgsql won't get enough cache
> memory. Try adding the parameter --osm2pgsql-cache 500
>
>> I checked data and they seems not updated
>>
>> Can somebody help me ?
> You should check the date in settings/state.txt. The updates for the
> Geofabrik excerpts are published only once a day. So it might be that
> there simply is no data available so far.
>
> Sarah
More information about the Geocoding
mailing list