Skip to main content

A tool for building a database of OpenStreetMap for geocoding and for searching the database. Database backend.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nominatim_db-5.2.0.tar.gz (15.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nominatim_db-5.2.0-py3-none-any.whl (15.3 MB view details)

Uploaded Python 3

File details

Details for the file nominatim_db-5.2.0.tar.gz.

File metadata

  • Download URL: nominatim_db-5.2.0.tar.gz
  • Upload date:
  • Size: 15.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for nominatim_db-5.2.0.tar.gz
Algorithm Hash digest
SHA256 604278854ac606827987cb6b4f3e76e09a90d4e700cf3426032cbb6fa72bb9c4
MD5 33c5f1fef40d28db4ca87e092795a4c1
BLAKE2b-256 99e45e58f7093f3d501ef1e7f8ca67c26cb32a205dfb395c9fde6bb1b19f15ea

See more details on using hashes here.

File details

Details for the file nominatim_db-5.2.0-py3-none-any.whl.

File metadata

  • Download URL: nominatim_db-5.2.0-py3-none-any.whl
  • Upload date:
  • Size: 15.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for nominatim_db-5.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c5a3b03bf0ac3da9d213bb0845e6099f6b274c8a759bba06ca9b26ec8edd1da4
MD5 e338dcd48e554dec7288d3447b0f7fe5
BLAKE2b-256 13ed99e4660b5e58eb0d7c32fab44d4a89a178e8e9070908f17d7972a04125d4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page