Skip to main content

Utility Functions for Working with Open GeoSpatial Data about Chattanooga

Project description

geochatt

Utility Functions for Working with Open GeoSpatial Data about Chattanooga

features

  • very fast: uses STRTree for super fast reverse geocoding
  • get address from point
  • get city council district from point
  • get municipality from point
  • get zip code from point

install

pip install geochatt

usage

import geochatt

geochatt.get_address(longitude=-85.3076591, latitude=35.0432979)
"101 E 11TH ST"

geochatt.get_city_council_district(longitude=-85.3076591, latitude=35.0432979)
8

geochatt.get_municipality(longitude=-85.3076591, latitude=35.0432979)
"Chattanooga"

geochatt.get_zipcode(longitude=-85.3076591, latitude=35.0432979)
37402

performance

Reverse geocoding is super fast thanks to STRTree. The performance test of geocoding 1 million random points takes 122.900 seconds, which is 0.000122 seconds per point.

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

geochatt-0.0.1.tar.gz (22.9 MB view details)

Uploaded Source

File details

Details for the file geochatt-0.0.1.tar.gz.

File metadata

  • Download URL: geochatt-0.0.1.tar.gz
  • Upload date:
  • Size: 22.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.5

File hashes

Hashes for geochatt-0.0.1.tar.gz
Algorithm Hash digest
SHA256 293e98ad27bd4ed52c93d30dbe01f935174b61140a71d713f8009fb5f69424ce
MD5 d7abac7d20f933ec4f02064e932b763a
BLAKE2b-256 8301917565cf6428dee06b28a895bbf829073d2a098d657e97838433a3b509e4

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