pycrs.elements.ellipsoids module
Named ellipsoid classes that can be created or parsed.
Functions
def find(
ellipsname, crstype, strict=False)
Search for a ellipsoid name located in this module.
Arguments:
- ellipsname: The ellipsoid name to search for.
- crstype: Which CRS naming convention to search (different CRS formats have different names for the same ellipsoid).
- strict (optional): If False, ignores minor name mismatches such as underscore or character casing, otherwise must be exact match (defaults to False).
Classes
class Airy1830
Ancestors (in MRO)
Methods
def __init__(
self, **kwargs)
Inheritance:
Ellipsoid
.__init__
The ellipsoid that defines the shape of the earth. To sufficiently define an ellipsoid, either set semimaj_ax + semimin_ax, semimaj_ax + flat, or semimaj_ax + inv_flat.
Arguments:
- name: A pycrs.ellipsoids.EllipsoidName instance with the name given by each supported format.
- semimaj_ax: A pycrs.parameters.SemiMajorRadius representing the radius of the semimajor axis.
- semimin_ax: A pycrs.parameters.SemiMinorRadius representing the radius of the semiminor axis.
- flat: A pycrs.parameters.Flattening representing the flattening factor.
- inv_flat: A pycrs.parameters.InverseFlattening representing the inverse flattening factor.
class Bessel1841
Ancestors (in MRO)
Methods
def __init__(
self, **kwargs)
Inheritance:
Ellipsoid
.__init__
The ellipsoid that defines the shape of the earth. To sufficiently define an ellipsoid, either set semimaj_ax + semimin_ax, semimaj_ax + flat, or semimaj_ax + inv_flat.
Arguments:
- name: A pycrs.ellipsoids.EllipsoidName instance with the name given by each supported format.
- semimaj_ax: A pycrs.parameters.SemiMajorRadius representing the radius of the semimajor axis.
- semimin_ax: A pycrs.parameters.SemiMinorRadius representing the radius of the semiminor axis.
- flat: A pycrs.parameters.Flattening representing the flattening factor.
- inv_flat: A pycrs.parameters.InverseFlattening representing the inverse flattening factor.
class Clarke1866
Ancestors (in MRO)
Methods
def __init__(
self, **kwargs)
Inheritance:
Ellipsoid
.__init__
The ellipsoid that defines the shape of the earth. To sufficiently define an ellipsoid, either set semimaj_ax + semimin_ax, semimaj_ax + flat, or semimaj_ax + inv_flat.
Arguments:
- name: A pycrs.ellipsoids.EllipsoidName instance with the name given by each supported format.
- semimaj_ax: A pycrs.parameters.SemiMajorRadius representing the radius of the semimajor axis.
- semimin_ax: A pycrs.parameters.SemiMinorRadius representing the radius of the semiminor axis.
- flat: A pycrs.parameters.Flattening representing the flattening factor.
- inv_flat: A pycrs.parameters.InverseFlattening representing the inverse flattening factor.
class Clarke1880
Ancestors (in MRO)
Methods
def __init__(
self, **kwargs)
Inheritance:
Ellipsoid
.__init__
The ellipsoid that defines the shape of the earth. To sufficiently define an ellipsoid, either set semimaj_ax + semimin_ax, semimaj_ax + flat, or semimaj_ax + inv_flat.
Arguments:
- name: A pycrs.ellipsoids.EllipsoidName instance with the name given by each supported format.
- semimaj_ax: A pycrs.parameters.SemiMajorRadius representing the radius of the semimajor axis.
- semimin_ax: A pycrs.parameters.SemiMinorRadius representing the radius of the semiminor axis.
- flat: A pycrs.parameters.Flattening representing the flattening factor.
- inv_flat: A pycrs.parameters.InverseFlattening representing the inverse flattening factor.
class Ellipsoid
Ancestors (in MRO)
Methods
def __init__(
self, **kwargs)
The ellipsoid that defines the shape of the earth. To sufficiently define an ellipsoid, either set semimaj_ax + semimin_ax, semimaj_ax + flat, or semimaj_ax + inv_flat.
Arguments:
- name: A pycrs.ellipsoids.EllipsoidName instance with the name given by each supported format.
- semimaj_ax: A pycrs.parameters.SemiMajorRadius representing the radius of the semimajor axis.
- semimin_ax: A pycrs.parameters.SemiMinorRadius representing the radius of the semiminor axis.
- flat: A pycrs.parameters.Flattening representing the flattening factor.
- inv_flat: A pycrs.parameters.InverseFlattening representing the inverse flattening factor.
def to_esri_wkt(
self)
def to_geotiff(
self)
def to_ogc_wkt(
self)
def to_proj4(
self)
class EllipsoidName
class GRS80
Ancestors (in MRO)
Methods
def __init__(
self, **kwargs)
Inheritance:
Ellipsoid
.__init__
The ellipsoid that defines the shape of the earth. To sufficiently define an ellipsoid, either set semimaj_ax + semimin_ax, semimaj_ax + flat, or semimaj_ax + inv_flat.
Arguments:
- name: A pycrs.ellipsoids.EllipsoidName instance with the name given by each supported format.
- semimaj_ax: A pycrs.parameters.SemiMajorRadius representing the radius of the semimajor axis.
- semimin_ax: A pycrs.parameters.SemiMinorRadius representing the radius of the semiminor axis.
- flat: A pycrs.parameters.Flattening representing the flattening factor.
- inv_flat: A pycrs.parameters.InverseFlattening representing the inverse flattening factor.
class International
Ancestors (in MRO)
Methods
def __init__(
self, **kwargs)
Inheritance:
Ellipsoid
.__init__
The ellipsoid that defines the shape of the earth. To sufficiently define an ellipsoid, either set semimaj_ax + semimin_ax, semimaj_ax + flat, or semimaj_ax + inv_flat.
Arguments:
- name: A pycrs.ellipsoids.EllipsoidName instance with the name given by each supported format.
- semimaj_ax: A pycrs.parameters.SemiMajorRadius representing the radius of the semimajor axis.
- semimin_ax: A pycrs.parameters.SemiMinorRadius representing the radius of the semiminor axis.
- flat: A pycrs.parameters.Flattening representing the flattening factor.
- inv_flat: A pycrs.parameters.InverseFlattening representing the inverse flattening factor.
class Krassowsky1940
Ancestors (in MRO)
Methods
def __init__(
self, **kwargs)
Inheritance:
Ellipsoid
.__init__
The ellipsoid that defines the shape of the earth. To sufficiently define an ellipsoid, either set semimaj_ax + semimin_ax, semimaj_ax + flat, or semimaj_ax + inv_flat.
Arguments:
- name: A pycrs.ellipsoids.EllipsoidName instance with the name given by each supported format.
- semimaj_ax: A pycrs.parameters.SemiMajorRadius representing the radius of the semimajor axis.
- semimin_ax: A pycrs.parameters.SemiMinorRadius representing the radius of the semiminor axis.
- flat: A pycrs.parameters.Flattening representing the flattening factor.
- inv_flat: A pycrs.parameters.InverseFlattening representing the inverse flattening factor.
class SphereArcInfo
Ancestors (in MRO)
Methods
def __init__(
self, **kwargs)
Inheritance:
Ellipsoid
.__init__
The ellipsoid that defines the shape of the earth. To sufficiently define an ellipsoid, either set semimaj_ax + semimin_ax, semimaj_ax + flat, or semimaj_ax + inv_flat.
Arguments:
- name: A pycrs.ellipsoids.EllipsoidName instance with the name given by each supported format.
- semimaj_ax: A pycrs.parameters.SemiMajorRadius representing the radius of the semimajor axis.
- semimin_ax: A pycrs.parameters.SemiMinorRadius representing the radius of the semiminor axis.
- flat: A pycrs.parameters.Flattening representing the flattening factor.
- inv_flat: A pycrs.parameters.InverseFlattening representing the inverse flattening factor.
class Unknown
Ancestors (in MRO)
Methods
def __init__(
self, **kwargs)
Inheritance:
Ellipsoid
.__init__
The ellipsoid that defines the shape of the earth. To sufficiently define an ellipsoid, either set semimaj_ax + semimin_ax, semimaj_ax + flat, or semimaj_ax + inv_flat.
Arguments:
- name: A pycrs.ellipsoids.EllipsoidName instance with the name given by each supported format.
- semimaj_ax: A pycrs.parameters.SemiMajorRadius representing the radius of the semimajor axis.
- semimin_ax: A pycrs.parameters.SemiMinorRadius representing the radius of the semiminor axis.
- flat: A pycrs.parameters.Flattening representing the flattening factor.
- inv_flat: A pycrs.parameters.InverseFlattening representing the inverse flattening factor.
class WGS72
Ancestors (in MRO)
Methods
def __init__(
self, **kwargs)
Inheritance:
Ellipsoid
.__init__
The ellipsoid that defines the shape of the earth. To sufficiently define an ellipsoid, either set semimaj_ax + semimin_ax, semimaj_ax + flat, or semimaj_ax + inv_flat.
Arguments:
- name: A pycrs.ellipsoids.EllipsoidName instance with the name given by each supported format.
- semimaj_ax: A pycrs.parameters.SemiMajorRadius representing the radius of the semimajor axis.
- semimin_ax: A pycrs.parameters.SemiMinorRadius representing the radius of the semiminor axis.
- flat: A pycrs.parameters.Flattening representing the flattening factor.
- inv_flat: A pycrs.parameters.InverseFlattening representing the inverse flattening factor.
class WGS84
Ancestors (in MRO)
Methods
def __init__(
self, **kwargs)
Inheritance:
Ellipsoid
.__init__
The ellipsoid that defines the shape of the earth. To sufficiently define an ellipsoid, either set semimaj_ax + semimin_ax, semimaj_ax + flat, or semimaj_ax + inv_flat.
Arguments:
- name: A pycrs.ellipsoids.EllipsoidName instance with the name given by each supported format.
- semimaj_ax: A pycrs.parameters.SemiMajorRadius representing the radius of the semimajor axis.
- semimin_ax: A pycrs.parameters.SemiMinorRadius representing the radius of the semiminor axis.
- flat: A pycrs.parameters.Flattening representing the flattening factor.
- inv_flat: A pycrs.parameters.InverseFlattening representing the inverse flattening factor.