Geocoding
Mapping addresses/names to geo coordinates and vice versa.
Provider
Nominatim
- OSM wiki: Nominatim
- Web interface
- Free use (API Usage Policy)
Python library
The Nominatim library is used for accessing a local Nominatim database. It is not meant to be used against web services of Nominatim like the one on https://nominatim.openstreetmap.org. If you need a Python library to access these web services, have a look at GeoPy.
GeoNames
User-editable geographical database available and accessible through various web services, under a Creative Commons attribution license"
- Website
- Wikipedia
- Reverse Geocoding Webservices
- Reverse Address Geocoding Webservice
- Germany not supported
geoapify
Example reverse geocoding API call:
curl --location --request GET \
"https://api.geoapify.com/v1/geocode/reverse?lat=${LAT}&lon=${LON}&format=json&apiKey=$REVERSE_GEOCODING_API_KEY" | jq .
Apps
geoClue
- Gitlab
- Wiki
- "Geoclue was also used for (reverse-)geocoding
but that functionality has been dropped in favour of the geocode-glib library."
- geocode-glib library
- Last release 2022
- geocode-glib library
- Configuration file:
/etc/geoclue/geoclue.conf
Install (already installed by default Manjaro):
sudo pacman -S geoclue
Test demo (decrease timeout, country-level accuracy):
/usr/lib/geoclue-2.0/demos/where-am-i --timeout=5 --accuracy-level=1