Skip to content

Commit

Permalink
Create installation.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidGhedini committed Jul 15, 2023
1 parent 2e35133 commit 8410d09
Showing 1 changed file with 95 additions and 0 deletions.
95 changes: 95 additions & 0 deletions docs/installation.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
OpenNameSearch
===========================
This script is for building a basic Nominatim server with OpenStreetMap data.

Only for use on a clean Ubuntu 22!


Installation
------------


Step 1: Get the OpenNameSearch.sh script from GitHub::

wget https://raw.githubusercontent.com/AcuGIS/OpenNameSearch/master/OpenNameSearch.sh

Step 2: Make it executable::

chmod 755 OpenNameSearch.sh

Step 3: Run the script::

./OpenNameSearch pbf_url

Examples
------------

Load Andorra data (one of the smallest data sets)::

./OpenNameSearch.sh https://download.geofabrik.de/europe/andorra-latest.osm.pbf

Welcome Page
------------

Once installation completes, navigate to the IP or hostname on your server.

You should see a page as below:

.. image:: docs/OpenNameSearch-Main.png


Click the Search function (or go to domain.com/search.html)

You should see a page as below:

.. image:: docs/OpenNameSearch-Search.png

To test functionality, enter below into the Search box::

AD500 Andorra la Vella, Andorra

Confirm that results are returned

.. image:: docs/Search-Results.png

Loading and Reloading PBFs
--------------------------

You can use our reload-OpenNameSearch.sh script via GitHUB script.

Usage is::

./reload-OpenNameSearch.sh [PBF_URL1] [PBF_URL2] ...


Enable Automatic Updates
------------------------

The script creates an updater service. In order to enable updates::

chmod +x /etc/init.d/nominatim_updater


Credits
-------

https://www.acugis.com

https://citedcorp.com


Contribute
----------

- Issue Tracker: github.com/AcuGIS/OpenNameSearch/issues
- Source Code: github.com/AcuGIS/OpenNameSearch

Support
-------

If you are having issues, please let us know.

License
-------

The project is licensed under the BSD license.

0 comments on commit 8410d09

Please sign in to comment.