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 to store the data.
On Ubuntu (>=23.04) and Debian (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 planet-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
The documentation of the latest development version is in the
docs/
subdirectory. A HTML version can be found at
https://nominatim.org/release-docs/develop/ .
License
The source code is available under a GPLv3 license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for nominatim_db-4.4.99.dev1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5302379ce1391170775dabc467ac45684293af1ed6e667b1896c2396deef6850 |
|
MD5 | fa4e100d56a5811f1ec48a979d8f7f95 |
|
BLAKE2b-256 | 1b614d4f508e926bf9c0c5c0ec2cc32e33bb65631d6631e60611722b80b77d58 |