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.
Metadata
Release files for nyc-intersection-geocoder 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| nyc_intersection_geocoder-0.0.4.tar.gz | 4.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nyc_intersection_geocoder-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.4 kB
Release files / nyc_intersection_geocoder-0.0.4.tar.gz
| Download URL | nyc_intersection_geocoder-0.0.4.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c7a841d9b1a200ffef70ff0c6abc0fe07ea32947143f87cad3379ca1b74a2c9
|
|
BLAKE2b-256 checksum How to use checksums |
20fcd14d95498333208a716a2a18852dbdf2dd43204e12c3300438d706e2c8c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / nyc_intersection_geocoder-0.0.4-py3-none-any.whl
| Download URL | nyc_intersection_geocoder-0.0.4-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fec833ac7e58d8452b34bce26e6f28298f1409f88df9505db893079e924441c6
|
|
BLAKE2b-256 checksum How to use checksums |
b827c707e246a2121edac8f62688c68264c85b334f70224f8be0a6ef8b4061f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for nyc-intersection-geocoder 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.