geowatch.utils.util_gis module

DEPRECATED: moved to kwgis

Utilities for geopandas and other geographic information system tools

geowatch.utils.util_gis.utm_epsg_from_zoneletter(zone, letter)[source]

Example

>>> lon, lat = -99.1149386165299831, 19.4867151641771414
>>> espg1 = utm_epsg_from_latlon(lat, lon)
>>> zone = 14
>>> letter = 'Q'
>>> espg2 = utm_epsg_from_zoneletter(zone, letter)
>>> assert espg2 == espg1

References

https://www.maptools.com/tutorials/grid_zone_details

Notes

The UTM coordinate system divides the earth into 60 zones each 6 degrees of longitude wide. These zones define the reference point for UTM grid coordinates within the zone. UTM zones extend from a latitude of 80° S to 84° N. In the polar regions the Universal Polar Stereographic (UPS) grid system is used. Note that there are a few exceptions to zone width in Northern Europe to keep small countries in a single zone.

UTM zones are numbered 1 through 60, starting at the international date line, longitude 180°, and proceeding east. Zone 1 extends from 180° W to 174° W and is centered on 177° W.

Each zone is divided into horizontal bands spanning 8 degrees of latitude. These bands are lettered, south to north, beginning at 80° S with the letter C and ending with the letter X at 84° N. The letters I and O are skipped to avoid confusion with the numbers one and zero. The band lettered X spans 12° of latitude.