38a99856c0
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. |
||
---|---|---|
cmake | ||
data | ||
data-sources | ||
docs | ||
lib | ||
module | ||
munin | ||
mysql2pgsql | ||
nominatim | ||
osm2pgsql@90e17f0e8c | ||
settings | ||
sql | ||
test | ||
utils | ||
vagrant | ||
website | ||
wikidata | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
AUTHORS | ||
ChangeLog | ||
CMakeLists.txt | ||
CONTRIBUTING.md | ||
COPYING | ||
phpcs.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 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:
-
Compile Nominatim:
mkdir build cd build cmake .. make
-
Get OSM data and import:
./build/utils/setup.php --osm-file <your planet file> --all
-
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