Transforms coordinates from an arbitrary Coordinate Reference System (CRS) to the WGS84 CRS, which is the standard for geodetic coordinates.
Parameters
Name
Type
Description
Default
from_crs
pyproj.CRS
The pyproj.CRS object of the CRS to transform from.
required
easting
float
The easting coordinate of the point to transform.
required
northing
float
The northing coordinate of the point to transform.
required
elevation
float or None
The elevation of the point to transform. Defaults to None.
None
Returns
Name
Type
Description
tuple
Tuple
A tuple containing the longitude, latitude and WGS84 height of the transformed point, in that order. The height is None if no elevation was given, or if the provided CRS doesn’t have a proper datum defined.