corresponding_utm_projection

corresponding_utm_projection#

corresponding_utm_projection(lon: float, lat: float) str[source]#

Deprecated since version 1.29.1: Use estimate_utm_crs instead, which directly returs a CRS instead of a string.

Find the EPSG code of the UTM CRS from a lon/lat in WGS84.

>>> to_utm_crs(lon=7.8, lat=48.6)  # Strasbourg
<Derived Projected CRS: EPSG:32632>
Name: WGS 84 / UTM zone 32N
Axis Info [cartesian]:
- E[east]: Easting (metre)
- N[north]: Northing (metre)
Area of Use:
- bounds: (6.0, 0.0, 12.0, 84.0)
Coordinate Operation:
- name: UTM zone 32N
- method: Transverse Mercator
Datum: World Geodetic System 1984 ensemble
- Ellipsoid: WGS 84
- Prime Meridian: Greenwich
Parameters:
  • lon (float) – Longitude (WGS84, epsg:4326)

  • lat (float) – Latitude (WGS84, epsg:4326)

Returns:

UTM CRS

Return type:

CRS