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.0.1.tar.gz (34.4 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: osmgeocoder-2.0.1.tar.gz
  • Upload date:
  • Size: 34.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for osmgeocoder-2.0.1.tar.gz
Algorithm Hash digest
SHA256 955286f3079aa457cad2e266bba0777f1b7542df9591c6ef68854e5c6af98651
MD5 e650945cbd426bdd9705fb3f2c3ea8e4
BLAKE2b-256 e09d2e3f327767d8dd43005733b0da863f5f6aae88bcc873b4f0e8a44a383a65

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