Skip to main content

Python implementation for a OSM / Openaddresses.io Geocoder.

This geocoder is implemented in PostgreSQL DB functions as much as possible, there is a simple API and an example flask app included.

You will need PostgreSQL 9.5+ (or 11.0+ for Openaddresses.io) with PostGIS installed as well as some disk space and data-files from OpenStreetMap and (optionally) OpenAddresses.io.

Data import will be done via Omniscale's imposm3 and a supplied python script to import the openaddresses.io data.

Optionally you can use the libpostal machine learning address classifier to parse addresses supplied as input to the forward geocoder.

For formatting the addresses from the reverse geocoder the worldwide.yml from OpenCageData address-formatting repository is used to format the address according to customs in the country that is been encoded.

See README.md in the repository for more information.

Release files for osmgeocoder 2.1.0

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

Source distribution (sdist)

Source distribution for osmgeocoder 2.1.0
File Size Uploaded
osmgeocoder-2.1.0.tar.gz 38.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for osmgeocoder 2.1.0
File Interpreter ABI Platform
osmgeocoder-2.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 82.8 kB

Release files / osmgeocoder-2.1.0.tar.gz

Download URL osmgeocoder-2.1.0.tar.gz
Size 38.2 kB
Tags Source
SHA-256 checksum
How to use checksums
789265703223a6b5545bb2a72f6c9378c691503c722e7bcf41124c1d8fc680a7
BLAKE2b-256 checksum
How to use checksums
7706be4370f925a6e9272372c7d4bdd5102f1be235473b9bea6b77277512969c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.13

Release files / osmgeocoder-2.1.0-py3-none-any.whl

Download URL osmgeocoder-2.1.0-py3-none-any.whl
Size 44.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
92b487cb4f18c2002263ac22379a606e642eeee5cfe7ffe6951e9f3cecb9b9f7
BLAKE2b-256 checksum
How to use checksums
bd85120c414ae1bb75ddc391e352c93f587a1adeb89f6135b5eb594d2882091a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.13

Release history Release notifications | RSS feed

This release

2.1.0 This release

2 release files

2.0.1

1 release file

2.0.0

1 release file

1.1.0

1 release file

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