2020-10-28 12:11:22 +03:00
[![Build Status ](https://github.com/osm-search/Nominatim/workflows/CI%20Tests/badge.svg )](https://github.com/osm-search/Nominatim/actions?query=workflow%3A%22CI+Tests%22)
2017-03-12 15:11:56 +03:00
2012-06-27 23:40:58 +04:00
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
2018-01-06 00:38:51 +03:00
at https://nominatim.openstreetmap.org. Nominatim is also used as one of the
2018-01-23 01:46:56 +03:00
sources for the Search box on the OpenStreetMap home page.
2012-06-27 23:40:58 +04:00
Documentation
=============
2018-01-23 01:46:56 +03:00
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/ .
2012-06-27 23:40:58 +04:00
Installation
============
2018-01-12 01:05:28 +03:00
The latest stable release can be downloaded from https://nominatim.org.
2019-11-27 00:33:00 +03:00
There you can also find [installation instructions for the release ](https://nominatim.org/release-docs/latest/admin/Installation ), as well as an extensive [Troubleshooting/FAQ section ](https://nominatim.org/release-docs/latest/admin/Faq/ ).
2017-09-06 21:36:59 +03:00
2021-02-03 12:17:22 +03:00
[Detailed installation instructions for current master ](https://nominatim.org/release-docs/develop/admin/Installation )
can be found at nominatim.org as well.
2017-09-06 21:36:59 +03:00
A quick summary of the necessary steps:
2012-06-27 23:40:58 +04:00
2024-11-15 17:07:30 +03:00
1. Create a Python virtualenv and install the packages:
2012-06-27 23:40:58 +04:00
2024-11-15 17:07:30 +03:00
python3 -m venv nominatim-venv
./nominatim-venv/bin/pip install packaging/nominatim-{api,db}
2012-06-27 23:40:58 +04:00
2021-02-03 12:17:22 +03:00
2. Create a project directory, get OSM data and import:
2012-06-27 23:40:58 +04:00
2021-02-03 12:17:22 +03:00
mkdir nominatim-project
cd nominatim-project
2024-11-15 17:07:30 +03:00
../nominatim-venv/bin/nominatim import --osm-file < your planet file >
2016-06-07 23:47:57 +03:00
2024-11-15 17:07:30 +03:00
3. Start the webserver:
./nominatim-venv/bin/pip install uvicorn falcon
../nominatim-venv/bin/nominatim serve
2016-06-07 23:47:57 +03:00
2012-06-27 23:40:58 +04:00
License
=======
2024-06-12 12:43:39 +03:00
The Python source code is available under a GPL license version 3 or later.
The Lua configuration files for osm2pgsql are released under the
Apache License, Version 2.0. All other files are under a GPLv2 license.
2012-06-27 23:40:58 +04:00
2018-09-11 21:51:22 +03:00
Contributing
============
2024-06-12 12:43:39 +03:00
Contributions, bug reports and pull requests are welcome. When reporting a
bug, please use one of the
[issue templates ](https://github.com/osm-search/Nominatim/issues/new/choose )
and make sure to provide all the information requested. If you are not
sure if you have really found a bug, please ask for help in the forums
first (see 'Questions' below).
For details on contributing, have a look at the
[contribution guide ](CONTRIBUTING.md ).
2018-09-11 21:51:22 +03:00
2021-02-03 12:17:22 +03:00
Questions and help
==================
2018-09-11 21:51:22 +03:00
2024-06-12 12:43:39 +03:00
If you have questions about search results and the OpenStreetMap data
used in the search, use the [OSM Forum ](https://community.openstreetmap.org/ ).
For questions, community help and discussions around the software and
your own installation of Nominatim, use the
[Github discussions forum ](https://github.com/osm-search/Nominatim/discussions ).