Skip to main content

Package to help geocode NYC intersections with OSMPythonTools.

Project description

NYC Intersection Geocoder

Package to help finding latitude and longitude for NYC street intersections utilizing OSMPythonTools.

Dependencies:

Installation:

pip install nyc_intersection_geocoder

Usage:

from nyc_intersection_geocoder.geocoder import IntersectionGC

encoder = IntersectionGC()
result = encoder.get_intersection(
    'Wythe Ave', 'N 4th Street', 'Brooklyn'
)
print(type(result)) # shapely.geometry.point.Point
print(result.coords.xy) # (array('d', [-73.962206]), array('d', [40.717871]))

Note: Geographic data for plot is ordered in (longitude, latitude) for to match (x, y) coordinates.

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

nyc_intersection_geocoder-0.0.4.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

nyc_intersection_geocoder-0.0.4-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

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