e7266b52ae
Instead of normalising the names simply compare them in lower case. This removes the dependency on the tokenizer for linking boundaries and nodes. When looking up the linked places by place type also allow that one name is simply contained in the other. This catches the frequent case where one of the names has an addendum (e.g. Newport vs. City of Newport). Drops the special index for the name lookup and insted relies on a slightly extended version of the geometry index used for reverse lookup. Saves around 100MB on a planet. |
||
---|---|---|
.github | ||
cmake | ||
data | ||
docs | ||
lib-php | ||
lib-sql | ||
manual | ||
module | ||
munin | ||
nominatim | ||
osm2pgsql@497476d56f | ||
settings | ||
test | ||
utils | ||
vagrant | ||
.gitignore | ||
.gitmodules | ||
.pylintrc | ||
AUTHORS | ||
ChangeLog | ||
CMakeLists.txt | ||
codecov.yml | ||
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
Nominatim is a complex piece of software and runs in a complex environment. Installing and running Nominatim is something for experienced system administrators only who can do some trouble-shooting themselves. We are sorry, but we can not provide installation support. We are all doing this in our free time and there is just so much of that time to go around. Do not open issues in our bug tracker if you need help. Use the discussions forum or ask for help on help.openstreetmap.org.
The latest stable release can be downloaded from https://nominatim.org. There you can also find installation instructions for the release, as well as an extensive Troubleshooting/FAQ section.
Detailed installation instructions for current master can be found at nominatim.org as well.
A quick summary of the necessary steps:
-
Compile Nominatim:
mkdir build cd build cmake .. make sudo make install
-
Create a project directory, get OSM data and import:
mkdir nominatim-project cd nominatim-project nominatim import --osm-file <your planet file>
-
Point your webserver to the nominatim-project/website directory.
License
The source code is available under a GPLv2 license.
Contributing
Contributions, bugreport and pull requests are welcome. For details see contribution guide.
Questions and help
For questions, community help and discussions you can use the Github discussions forum or join the geocoding mailing list.