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:
- OSMPythonTools
- shapely
- Note: GEOS required
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nyc_intersection_geocoder-0.0.4.tar.gz.
File metadata
- Download URL: nyc_intersection_geocoder-0.0.4.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c7a841d9b1a200ffef70ff0c6abc0fe07ea32947143f87cad3379ca1b74a2c9
|
|
| MD5 |
a93fc4815324ede24f02416d7033f2fe
|
|
| BLAKE2b-256 |
20fcd14d95498333208a716a2a18852dbdf2dd43204e12c3300438d706e2c8c7
|
File details
Details for the file nyc_intersection_geocoder-0.0.4-py3-none-any.whl.
File metadata
- Download URL: nyc_intersection_geocoder-0.0.4-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fec833ac7e58d8452b34bce26e6f28298f1409f88df9505db893079e924441c6
|
|
| MD5 |
66201ea944b8aa31a31e5ee5be92169f
|
|
| BLAKE2b-256 |
b827c707e246a2121edac8f62688c68264c85b334f70224f8be0a6ef8b4061f0
|