For example I am converting from ECEF to lla using
def ecef_to_lla(x, y, z):
lla = pyproj.Proj(proj='latlong', ellps='WGS84', datum='WGS84')
ecef = pyproj.Proj(proj='geocent', ellps='WGS84', datum='WGS84')
lon, lat, alt = pyproj.transform(ecef, lla, x, y, z)
return lon, lat, alt
I'm not sure how the ellps
and datum
keywords differ. Documentation points me here: http://proj4.org/parameters.html#parameter-list but it's still unclear how they differ?
I though a datum was a model of earth, usually an elippsoid with different parameters. So what's the difference between a datum and ellps?