Nominatim/packaging/nominatim-api
2024-06-28 09:13:22 +02:00
..
extra_src reduce from 3 to 2 packages 2024-06-28 09:13:22 +02:00
COPYING switch to symlink approach for packages 2024-06-26 11:52:47 +02:00
pyproject.toml reduce from 3 to 2 packages 2024-06-28 09:13:22 +02:00
README.md adapt packaging readmes 2024-06-26 11:52:47 +02:00
settings reduce from 3 to 2 packages 2024-06-28 09:13:22 +02:00
src switch to symlink approach for packages 2024-06-26 11:52:47 +02:00

Nominatim - Frontend Library

Nominatim is a tool to search OpenStreetMap data by name and address (geocoding) and to generate synthetic addresses of OSM points (reverse geocoding).

This module implements the library for searching in a Nominatim database imported with the 'nominatim-db' package.

Installation

To install the Nominatim API from pypi, run:

pip install nominatim-api

Running a Nominatim server

You need falcon or starlette to run Nominatim as a service, as well as an ASGI-capable server like uvicorn. To install them from pypi run:

pip install falcon uvicorn

You need to have a Nominatim database imported with the 'nominatim-db' package. Go to the project directory, then run uvicorn as:

uvicorn --factory nominatim.server.falcon.server:run_wsgi

Documentation

The full documentation for the Nominatim library can be found at: https://nominatim.org/release-docs/develop/library/Getting-Started/

The v1 API of the server is documented at: https://nominatim.org/release-docs/develop/api/Overview/

License

The source code is available under a GPLv3 license.