Top

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.

def to_esri_wkt(

self)

Inheritance: Ellipsoid.to_esri_wkt

def to_geotiff(

self)

Inheritance: Ellipsoid.to_geotiff

def to_ogc_wkt(

self)

Inheritance: Ellipsoid.to_ogc_wkt

def to_proj4(

self)

Inheritance: Ellipsoid.to_proj4

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.

def to_esri_wkt(

self)

Inheritance: Ellipsoid.to_esri_wkt

def to_geotiff(

self)

Inheritance: Ellipsoid.to_geotiff

def to_ogc_wkt(

self)

Inheritance: Ellipsoid.to_ogc_wkt

def to_proj4(

self)

Inheritance: Ellipsoid.to_proj4

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.

def to_esri_wkt(

self)

Inheritance: Ellipsoid.to_esri_wkt

def to_geotiff(

self)

Inheritance: Ellipsoid.to_geotiff

def to_ogc_wkt(

self)

Inheritance: Ellipsoid.to_ogc_wkt

def to_proj4(

self)

Inheritance: Ellipsoid.to_proj4

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.

def to_esri_wkt(

self)

Inheritance: Ellipsoid.to_esri_wkt

def to_geotiff(

self)

Inheritance: Ellipsoid.to_geotiff

def to_ogc_wkt(

self)

Inheritance: Ellipsoid.to_ogc_wkt

def to_proj4(

self)

Inheritance: Ellipsoid.to_proj4

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

Ancestors (in MRO)

Methods

def __init__(

self, proj4='', ogc_wkt='', esri_wkt='')

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.

def to_esri_wkt(

self)

Inheritance: Ellipsoid.to_esri_wkt

def to_geotiff(

self)

Inheritance: Ellipsoid.to_geotiff

def to_ogc_wkt(

self)

Inheritance: Ellipsoid.to_ogc_wkt

def to_proj4(

self)

Inheritance: Ellipsoid.to_proj4

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.

def to_esri_wkt(

self)

Inheritance: Ellipsoid.to_esri_wkt

def to_geotiff(

self)

Inheritance: Ellipsoid.to_geotiff

def to_ogc_wkt(

self)

Inheritance: Ellipsoid.to_ogc_wkt

def to_proj4(

self)

Inheritance: Ellipsoid.to_proj4

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.

def to_esri_wkt(

self)

Inheritance: Ellipsoid.to_esri_wkt

def to_geotiff(

self)

Inheritance: Ellipsoid.to_geotiff

def to_ogc_wkt(

self)

Inheritance: Ellipsoid.to_ogc_wkt

def to_proj4(

self)

Inheritance: Ellipsoid.to_proj4

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.

def to_esri_wkt(

self)

Inheritance: Ellipsoid.to_esri_wkt

def to_geotiff(

self)

Inheritance: Ellipsoid.to_geotiff

def to_ogc_wkt(

self)

Inheritance: Ellipsoid.to_ogc_wkt

def to_proj4(

self)

Inheritance: Ellipsoid.to_proj4

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.

def to_esri_wkt(

self)

Inheritance: Ellipsoid.to_esri_wkt

def to_geotiff(

self)

Inheritance: Ellipsoid.to_geotiff

def to_ogc_wkt(

self)

Inheritance: Ellipsoid.to_ogc_wkt

def to_proj4(

self)

Inheritance: Ellipsoid.to_proj4

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.

def to_esri_wkt(

self)

Inheritance: Ellipsoid.to_esri_wkt

def to_geotiff(

self)

Inheritance: Ellipsoid.to_geotiff

def to_ogc_wkt(

self)

Inheritance: Ellipsoid.to_ogc_wkt

def to_proj4(

self)

Inheritance: Ellipsoid.to_proj4

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.

def to_esri_wkt(

self)

Inheritance: Ellipsoid.to_esri_wkt

def to_geotiff(

self)

Inheritance: Ellipsoid.to_geotiff

def to_ogc_wkt(

self)

Inheritance: Ellipsoid.to_ogc_wkt

def to_proj4(

self)

Inheritance: Ellipsoid.to_proj4