I am trying to install a local Nominatim server and I keep on bumping my head against a couple of issues.
Firstly, I downloaded the postcodes data wget --output-document=data/gb_postcode_data.sql.gz http://www.nominatim.org/data/gb_postcode_data.sql.gz but not sure what I am to do with it. Unzipped it and sent it through psql which created gb_postcodes table but when I try and search for postcode through the website interface, nothing is found… I am missing a connection here somewhere.
The second issue is setting the database to be updated automatically. I have the following file wget http://download.geofabrik.de/europe-latest.osm.bz2 from Geofabrik but I can’t find what I am supposed to do with it. I installed osmosis but this expects some kind of .state file and fails (works with updates directories from Geofabrik but not pbf or osm files). Can someone point me in the right direction? Once this is done how can I get Nominatim to update itself from a give url every n days, do I use crontab? There are settings in settings/local.php but no “service” to actually run them so I don’t understand how this is supposed to run without manual intervention.
Thanks for your time.