[Geocoding] update nominatim data

mirko perillo mperillo2012 at gmail.com
Tue Jan 28 09:36:52 UTC 2014


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

I checked data and they seems not updated

Can somebody help me ?

Thanks
Mirko



More information about the Geocoding mailing list