|Version:||3.7.1 releases (2021-04-26)|
|Website:||nominatim.org / |
OSM search engine
Nominatim (from the Latin, 'by name') is a tool to search OSM data by name and address (geocoding) and to generate synthetic addresses of OSM points (reverse geocoding). It can be found at nominatim.openstreetmap.org.
Nominatim is also used as one of the sources for the search box on the OpenStreetMap home page. Several companies provide hosted instances of Nominatim that you can query via an API; see section Alternatives below.
This page provides usage instructions. For details of how Nominatim works, please see the Development Overview and there is a short FAQ. There is also a list of language mappings per country, some experimental address formats per country and a list of abbreviations.
The API documentation can be found at nominatim.org.
For the usage policy of nominatim.openstreetmap.org, please see Nominatim usage policy.
Nominatim is based around the PostgreSQL import utility osm2pgsql using the alternative gazetteer output option. Indexing and search are performed using a combination of C, plpgsql and PHP. The source can be found here:
Full installation instructions can be found in on the nominatim.org website.
Bugs / Error reporting
When you report unexpected search results, please include the following in your bug report:
- the exact search term you were using
- links to the OSM objects you expect to find and, optionally, a link to the OSM object that was actually found
For slightly larger requirements, you may be able to use one of the various third-party providers, though, of course, you will need to agree to their terms of service.
- Geocoding API
- OpenCage Geocoder (uses Nominatim among others )
- Geokeo Geocoding Api 2500 free api calls daily limit (uses Nominatim among others )
You can also install your own instance of Nominatim.
See Search_engines for a complete list of OSM-based geocoding providers, including those who use different geocoding software than Nominatim.
API Client Libraries
Note: before adding any libraries here, you must make sure that it forces the user to set a custom user agent. It should also prominently point to the Nominatim usage policy.
Not endorsing the quality of these related projects, but consider using them as an alternative to writing your own. Please make sure you read the Nominatim usage policy before using these libraries. In particular, make sure you respect the limit of 1 request/s.
- C#: https://github.com/f1ana/Nominatim.API
- Python: https://geopy.readthedocs.io/en/stable/#nominatim
- Migrating from Nominatim, OpenCage website, https://opencagedata.com/guides/how-to-switch-from-nominatim, retrieved on 26 August 2021
- Geokeo website, https://geokeo.com/, retrieved on 26 August 2021