896421fe9f
Don't do anything if a downloaded diff is empty after all (may be happening when an empty diff was published upstream). Correctly compute the waiting interval before checking for new data. As the interval is now computed based on the date of the newest object in the database, the configured intervals need to be adjusted slightly to take into account the time it takes for the server to publish a diff. |
||
---|---|---|
data | ||
docs | ||
lib | ||
module | ||
munin | ||
mysql2pgsql | ||
nominatim | ||
osm2pgsql@c27acf1705 | ||
settings | ||
sql | ||
test | ||
utils | ||
vagrant | ||
website | ||
wikidata | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
AUTHORS | ||
ChangeLog | ||
CMakeLists.txt | ||
CONTRIBUTING.md | ||
COPYING | ||
phpcs.xml | ||
phpunit.xml | ||
README.md | ||
VAGRANT.md | ||
Vagrantfile |
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 docs/ subdirectory and in the OSM wiki at:
http://wiki.openstreetmap.org/wiki/Nominatim
Installation
There are detailed installation instructions in the /docs directory. Here is a quick summary of the necessary steps.
-
Compile Nominatim:
mkdir build cd build cmake .. make
For more detailed installation instructions see docs/Installation.md. There are also step-by-step instructions for Ubuntu 16.04 and CentOS 7.2.
-
Get OSM data and import:
./build/utils/setup.php --osm-file <your planet file> --all
Details can be found in docs/Import_and_update.md
-
Point your webserver to the ./build/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/openstreetmap/Nominatim