Terminology#

ellipsoid-like#

An ellipsoid specification. Can be either:

  • the name of the ellipsoid as a str. For a complete list of known ellipsoids, see the geodesy crate.

  • a dict, with either a "radius" item for spheres or "semimajor_axis" and "inverse_flattening" for ellipsoids. All items need to be floats.

  • a class with a "radius" attribute for spheres or "semimajor_axis" and "inverse_flattening" attributes for ellipsoids. All attributes need to be floats.

If an object or dict could be interpreted as both a sphere and an ellipsoid, the ellipsoid will be preferred.