This script is for building a basic Nominatim server with OpenStreetMap data.
Only for use on a clean Ubuntu 14!
Before proceeding, see OpenNameSearch.org for limitations, etc..
An Ubuntu 16 version has been contributed by @f1ana: https://github.com/f1ana
https://github.com/AcuGIS/OpenNameSearch/blob/master/OpenNameSearch-Ubuntu16.sh
Step 1: Get the OpenNameSearch.sh script from GitHub
Step 2: Make it executable:
chmod 755 OpenNameSearch.sh
Step 3: Run the script
./OpenNameSearch.sh pbf_url
pbf_url: Complete PBF url from GeoFarbrik
Load Delware data:
./OpenNameSearch.sh http://download.geofabrik.de/north-america/us/delaware-latest.osm.pbf
Once installation completes, navigate to the IP/nominatim or hostname/nominatim on your server.
You should see a page as below:
You can use our reload-OpenNameSearch.sh script via GitHUB script.
Usage is:
./reload-OpenNameSearch.sh [PBF_URL1] [PBF_URL2] ...
The script creates an updater service. In order to enable updates:
chmod +x /etc/init.d/nominatim_updater