1 # Nominatim - DB Backend
3 Nominatim is a tool to search OpenStreetMap data
4 by name and address (geocoding) and to generate synthetic addresses of
5 OSM points (reverse geocoding).
7 This module implements the database backend for Nominatim and the
8 command-line tool for importing and maintaining the database.
14 Nominatim requires [osm2pgsql](https://osm2pgsql.org/) (>=1.8) for reading
15 OSM data and [PostgreSQL](https://www.postgresql.org/) to store the data.
17 On Ubuntu (>=23.04) and Debian (using backports), you can install them with:
19 sudo apt-get install osm2pgsql postgresql-postgis
21 ### Installation from pypi
23 To install Nominatim from pypi, run:
25 pip install nominatim-db
30 First create a project directory for your new Nominatim database, which
31 is the space for additional configuration and customization:
35 Download an appropriate data extract, for example from
36 [Geofabrik](https://download.geofabrik.de/) and import the file:
38 nominatim import --osm-file <downlaoded-osm-data.pbf>
40 You will need to install the 'nominatim-api' package to query the
45 The documentation of the latest development version is in the
46 `docs/` subdirectory. A HTML version can be found at
47 https://nominatim.org/release-docs/develop/ .
51 The source code is available under a GPLv3 license.