Skip to main content

Nominatim - DB Backend

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 database backend for Nominatim and the command-line tool for importing and maintaining the database.

Installation

Prerequisites

Nominatim requires osm2pgsql (>=1.8) for reading OSM data and PostgreSQL (>=9.6) to store the data.

On Ubuntu (>=23.04) and Debian (when using backports), you can install them with:

sudo apt-get install osm2pgsql postgresql-postgis

Installation from pypi

To install Nominatim from pypi, run:

pip install nominatim-db

Quick start

First create a project directory for your new Nominatim database, which is the space for additional configuration and customization:

mkdir nominatim-project

Make sure you run all nominatim commands from within the project directory:

cd nominatim-project

Download an appropriate data extract, for example from Geofabrik and import the file:

nominatim import --osm-file <downlaoded-osm-data.pbf>

You will need to install the nominatim-api package to query the database.

Documentation

A HTML version of the documentation can be found at https://nominatim.org/release-docs/latest/ .

License

The source code is available under a GPLv3 license.

Metadata

Release files for nominatim-db 5.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nominatim-db 5.3.2
File Size Uploaded
nominatim_db-5.3.2.tar.gz 15.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for nominatim-db 5.3.2
File Interpreter ABI Platform
nominatim_db-5.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 30.4 MB

Release files / nominatim_db-5.3.2.tar.gz

Download URL nominatim_db-5.3.2.tar.gz
Size 15.1 MB
Tags Source
SHA-256 checksum
How to use checksums
752152b18adac42b7c689fe97ddcafe7ede78b4e4b0d1d98048d8ab5a8de065c
BLAKE2b-256 checksum
How to use checksums
d5d83765bacff0316228a7147535e1fb67f52aede925bccc62ada39a964c2ba5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release files / nominatim_db-5.3.2-py3-none-any.whl

Download URL nominatim_db-5.3.2-py3-none-any.whl
Size 15.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
c5e1c4bd27f52a48843a5fe204a1a7b5f4d4d2911880e65721b4c900b13227e5
BLAKE2b-256 checksum
How to use checksums
fc9e3f6a9706fdf54241e3adfffcb80f6fdba6d439c7506564cdc0f1b91bc5aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

5.3.2 This release

2 release files

5.3.1

2 release files

5.3.0

2 release files

5.2.0

2 release files

5.1.0

2 release files

5.0.0

2 release files

4.5.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page