Sarah Hoffmann 38a99856c0 Rework word set computation
Switch from an recursive algorithm for computing the word sets
to an iterative one that benefits from caching intermediate
results. This considerably reduces the amount of memory needed,
so that the depth restriction can be dropped. To ensure that
the number of word sets remains manageable, only sets up to
a certain length are accepted and only a certain number of
total word sets. If word sets need to be dropped, we drop
the ones with more words per word set first.

To further reduce the number of potential word sets, the valid
tokens are looked up first and then only word sets containing
valid tokens are computed.

Fixes #1403, #1404 and #654.
2019-06-29 18:22:31 +02:00
2018-11-27 20:13:33 +01:00
2019-04-29 23:13:37 +02:00
2019-06-29 18:22:31 +02:00
2018-02-26 00:07:53 +01:00
2019-06-29 18:22:31 +02:00
2012-09-29 18:53:21 +02:00
2019-04-17 16:05:49 +02:00
2018-08-26 17:33:49 +02:00
2019-05-01 09:38:45 +02:00
2019-05-01 09:38:45 +02:00
2016-09-04 03:19:48 +02:00
2019-03-14 22:53:09 +05:30

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 https://nominatim.openstreetmap.org. Nominatim is also used as one of the sources for the Search box on the OpenStreetMap home page.

Documentation

The documentation of the latest development version is in the docs/ subdirectory. A HTML version can be found at https://nominatim.org/release-docs/develop/ .

Installation

The latest stable release can be downloaded from https://nominatim.org. There you can also find installation instructions for the release.

Detailed installation instructions for the development version can be found at nominatim.org as well.

A quick summary of the necessary steps:

  1. Compile Nominatim:

     mkdir build
     cd build
     cmake ..
     make
    
  2. Get OSM data and import:

     ./build/utils/setup.php --osm-file <your planet file> --all
    
  3. Point your webserver to the ./build/website directory.

License

The source code is available under a GPLv2 license.

Contributing

Contributions are welcome. For details see contribution guide.

Both bug reports and pull requests are welcome.

Mailing list

For questions you can join the geocoding mailing list, see https://lists.openstreetmap.org/listinfo/geocoding

Description
Open Source search based on OpenStreetMap data
Readme 162 MiB
Languages
Python 71.2%
Gherkin 17.9%
PLpgSQL 7.1%
Lua 2.3%
Shell 1.3%
Other 0.2%