convert_utm_to_latlon#

ansys.aedt.core.modeler.advanced_cad.osm.convert_utm_to_latlon(east: float | int, north: float | int, zone_number: int, zone_letter: str = None, northern: bool = None) tuple[float, float]#

Convert UTM (Universal Transverse Mercator) coordinates to latitude and longitude.

Parameters:
eastint

East value of UTM coordinates.

northint

North value of UTM coordinates.

zone_number: int, optional

Global map numbers of a UTM zone numbers map.

zone_letter: str, optional

UTM zone designators. The default is None. The valid zone letters are "CDEFGHJKLMNPQRSTUVWXX"

northern: bool, optional

Indicates whether the UTM coordinates are in the Northern Hemisphere. If True, the coordinates are treated as being north of the equator, if False, they are treated as being south of the equator. The default is None in which case the method determines the hemisphere using zone_letter.

Returns:
tuple

Tuple containing latitude and longitude.

Notes