Open Source search based on OpenStreetMap data
Go to file
Sarah Hoffmann bd4b1b2d08 switch from osmosis to pyosmium for updates
Pyosmium comes with convenient functions for finding the
right state and does not require external files for
rembering the state. Updates can now conveniently
set up by simply running ./utils/update.php --init-updates
and state is kept directly in the import_status table.

This change requires an update in the database schema.
Run the following to update:

ALTER TABLE import_status ADD COLUMN sequence_id integer;
ALTER TABLE import_status ADD COLUMN indexed boolean;
ALTER TABLE import_osmosis_log ADD COLUMN batchseq integer;
2017-05-25 16:26:09 +02:00
data remove base country grid from repo 2017-05-12 23:02:50 +02:00
docs update docs for new country grid location 2017-05-13 00:13:56 +02:00
lib switch from osmosis to pyosmium for updates 2017-05-25 16:26:09 +02:00
module use properly cascading make for external make file 2017-02-13 21:02:49 +01:00
munin Add some comments to help use munin plugin, add over limit detection 2014-01-14 23:50:28 +01:00
mysql2pgsql add mysql to pgsql tool as lib 2013-03-19 00:47:57 +01:00
nominatim correct spelling mistakes 2017-03-08 15:06:50 +00:00
osm2pgsql@28c6806a4b update osm2pgsql (geometry fix, column reordering) 2017-04-22 18:16:22 +02:00
settings switch from osmosis to pyosmium for updates 2017-05-25 16:26:09 +02:00
sql switch from osmosis to pyosmium for updates 2017-05-25 16:26:09 +02:00
test explicitly name columns at INSERT 2017-04-18 13:36:02 +02:00
utils switch from osmosis to pyosmium for updates 2017-05-25 16:26:09 +02:00
vagrant update docs for new country grid location 2017-05-13 00:13:56 +02:00
website remove street and addr_place columns in placex 2017-04-08 19:58:10 +02:00
wikidata reduce maximum line length to 199 for all php files 2016-10-14 00:01:16 +02:00
.gitignore move from autotools to cmake and update osm2pgsql 2016-02-29 22:26:55 +01:00
.gitmodules update osm2pgsql to latest version 2012-09-29 18:53:21 +02:00
.travis.yml Replace lettuce with behave in tests. Use python3 Split import and (python,php) tests into two travis executions 2017-01-21 02:38:04 +01:00
AUTHORS apply Sarah's pull request feedback 2015-04-29 01:34:32 +02:00
ChangeLog prepare next release 2016-02-08 23:54:06 +01:00
CMakeLists.txt Update CMakeLists.txt 2017-03-21 12:34:24 +01:00
CONTRIBUTING.md adapt CONTRIBUTING.md to new test locations and tools 2017-03-11 17:13:24 +01:00
COPYING tabs-to-spaces 2016-09-04 03:19:48 +02:00
phpcs.xml reduce maximum line length to 199 for all php files 2016-10-14 00:01:16 +02:00
phpunit.xml move php tests in common test dir and unify READMEs 2016-12-30 22:58:58 +01:00
README.md Merge pull request #661 from mtmail/travis-ci-badge 2017-03-12 14:00:11 +01:00
VAGRANT.md github.com/twain47 => github.com/openstreetmap 2017-03-12 13:06:25 +01:00
Vagrantfile specify ubuntu as primary Vagrant VM 2016-08-22 05:47:26 +02:00

Build Status

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.

  1. 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.

  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

  3. 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