Skip to main content

OpenStreetMap and OpenAddresses.io based geocoder

Project description

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.

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

osmgeocoder-2.1.0.tar.gz (38.2 kB view details)

Uploaded Source

Built Distribution

osmgeocoder-2.1.0-py3-none-any.whl (44.6 kB view details)

Uploaded Python 3

File details

Details for the file osmgeocoder-2.1.0.tar.gz.

File metadata

  • Download URL: osmgeocoder-2.1.0.tar.gz
  • Upload date:
  • Size: 38.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for osmgeocoder-2.1.0.tar.gz
Algorithm Hash digest
SHA256 789265703223a6b5545bb2a72f6c9378c691503c722e7bcf41124c1d8fc680a7
MD5 4528ac4d29db69e0c3c5f2e33b9dd4ce
BLAKE2b-256 7706be4370f925a6e9272372c7d4bdd5102f1be235473b9bea6b77277512969c

See more details on using hashes here.

File details

Details for the file osmgeocoder-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: osmgeocoder-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 44.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for osmgeocoder-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 92b487cb4f18c2002263ac22379a606e642eeee5cfe7ffe6951e9f3cecb9b9f7
MD5 147ea0729be92eca3ffaa60af34a8f13
BLAKE2b-256 bd85120c414ae1bb75ddc391e352c93f587a1adeb89f6135b5eb594d2882091a

See more details on using hashes here.

Supported by

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