utm-zone
Find the UTM zone for your GeoJSON.
Provided a GeoJSON object (with coordinates using WGS84), calculate the Proj.4 definition or EPSG code for a suitable UTM zone for this geometry. This will only work if the geometry has limited geographic size, so that it can fit into a single UTM zone.
Note that this module does not do any reprojection of coordinates, you might want to look at pyproj for that.
For a rough overview of how the UTM zone is calculated, have a look at https://gis.stackexchange.com/a/190209/467.
See also https://github.com/perliedman/utm-zone for a JavaScript version of this module.
API
epsg(geojson)
Returns the EPSG code for the UTM zone of the provided GeoJSON object.
proj(geojson)
Returns the Proj.4 string for the UTM zone of the provided GeoJSON object.
Metadata
Release files for utm-zone 1.0.2
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 | Actions |
|---|---|---|---|---|
| utm_zone-1.0.2.tar.gz | 2.8 kB | Without provenance | Details for utm_zone-1.0.2.tar.gz |
Release files / utm_zone-1.0.2.tar.gz
| Download URL | utm_zone-1.0.2.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f945252c4ff200fa675fb41e83492dcb2b7d863e38c4d5ed2a4e252a23815ee0
|
|
BLAKE2b-256 checksum How to use checksums |
7319b82ea39f939e3180665c6ab572566a1233178f0f289f4c109becc1278bb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
|
Security for utm-zone 1.0.2
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.