2012-06-27 23:40:58 +04:00
|
|
|
Nominatim
|
|
|
|
=========
|
|
|
|
|
|
|
|
Nominatim (from the Latin, 'by name') is a tool to search OpenStreetMap data
|
|
|
|
by name and address (geocoding) and to generate synthetic addresses of
|
|
|
|
OSM points (reverse geocoding). An instance with up-to-date data can be found
|
|
|
|
at http://nominatim.openstreetmap.org. Nominatim is also used as one of the
|
|
|
|
sources for the Search box on the OpenStreetMap home page and powers the search
|
|
|
|
on the MapQuest Open Initiative websites.
|
|
|
|
|
|
|
|
Documentation
|
|
|
|
=============
|
|
|
|
|
|
|
|
More information about Nominatim, including usage and installation instructions,
|
|
|
|
can be found in the OSM wiki at:
|
|
|
|
|
|
|
|
http://wiki.openstreetmap.org/wiki/Nominatim
|
|
|
|
|
|
|
|
Installation
|
|
|
|
============
|
|
|
|
|
|
|
|
The following instructions is a quick guide to installation. A more detailed guide
|
|
|
|
how to set up your own instance of Nominatim can be found in the wiki:
|
|
|
|
|
|
|
|
http://wiki.openstreetmap.org/wiki/Nominatim/Installation
|
|
|
|
|
2014-12-20 01:44:54 +03:00
|
|
|
Note that this repository contains a submodule called osm2pgsql. Make sure it
|
|
|
|
is cloned as well by running `git submodule update --init`.
|
|
|
|
|
2012-06-27 23:40:58 +04:00
|
|
|
Installation steps:
|
|
|
|
|
|
|
|
0. If checking out from git run:
|
|
|
|
|
|
|
|
./autogen.sh
|
|
|
|
|
|
|
|
1. Compile Nominatim:
|
|
|
|
|
2014-12-20 01:44:54 +03:00
|
|
|
./configure
|
2012-06-27 23:40:58 +04:00
|
|
|
make
|
|
|
|
|
|
|
|
2. Get OSM data and import:
|
|
|
|
|
|
|
|
./utils/setup.php --osm-file <your planet file> --all
|
|
|
|
|
|
|
|
3. Point your webserver to the ./website directory.
|
|
|
|
|
|
|
|
License
|
|
|
|
=======
|
|
|
|
|
|
|
|
The source code is available under a GPLv2 license.
|
|
|
|
|
|
|
|
Contact and Bugreports
|
|
|
|
======================
|
|
|
|
|
|
|
|
For questions you can join the geocoding mailinglist, see
|
|
|
|
http://lists.openstreetmap.org/listinfo/geocoding
|
|
|
|
|
|
|
|
Bugs may be reported on the github project site:
|
|
|
|
https://github.com/twain47/Nominatim
|