Top

pycrs.elements.datums module

Named datum classes that can be created or parsed.

Functions

def find(

datumname, crstype, strict=False)

Search for a datum name located in this module.

Arguments:

  • datumname: The datum name to search for.
  • crstype: Which CRS naming convention to search (different CRS formats have different names for the same datum).
  • strict (optional): If False, ignores minor name mismatches such as underscore or character casing, otherwise must be exact match (defaults to False).

Classes

class Datum

Ancestors (in MRO)

Methods

def __init__(

self, **kwargs)

A Datum defines the shape of the earth.

Arguments:

  • name: A pycrs.datums.DatumName instance with the name given by each supported format.
  • ellipsoid: A pycrs.elements.ellipsoids.Ellipsoid instance.
  • datumshift (optional): A pycrs.elements.parameters.DatumShift instance.

def to_esri_wkt(

self)

def to_geotiff(

self)

def to_ogc_wkt(

self)

def to_proj4(

self)

class DatumName

Ancestors (in MRO)

Methods

def __init__(

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

class NAD27

Ancestors (in MRO)

Methods

def __init__(

self, **kwargs)

Inheritance: Datum.__init__

A Datum defines the shape of the earth.

Arguments:

  • name: A pycrs.datums.DatumName instance with the name given by each supported format.
  • ellipsoid: A pycrs.elements.ellipsoids.Ellipsoid instance.
  • datumshift (optional): A pycrs.elements.parameters.DatumShift instance.

def to_esri_wkt(

self)

Inheritance: Datum.to_esri_wkt

def to_geotiff(

self)

Inheritance: Datum.to_geotiff

def to_ogc_wkt(

self)

Inheritance: Datum.to_ogc_wkt

def to_proj4(

self)

Inheritance: Datum.to_proj4

class NAD83

Ancestors (in MRO)

Methods

def __init__(

self, **kwargs)

Inheritance: Datum.__init__

A Datum defines the shape of the earth.

Arguments:

  • name: A pycrs.datums.DatumName instance with the name given by each supported format.
  • ellipsoid: A pycrs.elements.ellipsoids.Ellipsoid instance.
  • datumshift (optional): A pycrs.elements.parameters.DatumShift instance.

def to_esri_wkt(

self)

Inheritance: Datum.to_esri_wkt

def to_geotiff(

self)

Inheritance: Datum.to_geotiff

def to_ogc_wkt(

self)

Inheritance: Datum.to_ogc_wkt

def to_proj4(

self)

Inheritance: Datum.to_proj4

class SphereArcInfo

Ancestors (in MRO)

Methods

def __init__(

self, **kwargs)

Inheritance: Datum.__init__

A Datum defines the shape of the earth.

Arguments:

  • name: A pycrs.datums.DatumName instance with the name given by each supported format.
  • ellipsoid: A pycrs.elements.ellipsoids.Ellipsoid instance.
  • datumshift (optional): A pycrs.elements.parameters.DatumShift instance.

def to_esri_wkt(

self)

Inheritance: Datum.to_esri_wkt

def to_geotiff(

self)

Inheritance: Datum.to_geotiff

def to_ogc_wkt(

self)

Inheritance: Datum.to_ogc_wkt

def to_proj4(

self)

Inheritance: Datum.to_proj4

class Unknown

Ancestors (in MRO)

Methods

def __init__(

self, **kwargs)

Inheritance: Datum.__init__

A Datum defines the shape of the earth.

Arguments:

  • name: A pycrs.datums.DatumName instance with the name given by each supported format.
  • ellipsoid: A pycrs.elements.ellipsoids.Ellipsoid instance.
  • datumshift (optional): A pycrs.elements.parameters.DatumShift instance.

def to_esri_wkt(

self)

Inheritance: Datum.to_esri_wkt

def to_geotiff(

self)

Inheritance: Datum.to_geotiff

def to_ogc_wkt(

self)

Inheritance: Datum.to_ogc_wkt

def to_proj4(

self)

Inheritance: Datum.to_proj4

class WGS72_BE

Ancestors (in MRO)

Methods

def __init__(

self, **kwargs)

Inheritance: Datum.__init__

A Datum defines the shape of the earth.

Arguments:

  • name: A pycrs.datums.DatumName instance with the name given by each supported format.
  • ellipsoid: A pycrs.elements.ellipsoids.Ellipsoid instance.
  • datumshift (optional): A pycrs.elements.parameters.DatumShift instance.

def to_esri_wkt(

self)

Inheritance: Datum.to_esri_wkt

def to_geotiff(

self)

Inheritance: Datum.to_geotiff

def to_ogc_wkt(

self)

Inheritance: Datum.to_ogc_wkt

def to_proj4(

self)

Inheritance: Datum.to_proj4

class WGS84

Ancestors (in MRO)

Methods

def __init__(

self, **kwargs)

Inheritance: Datum.__init__

A Datum defines the shape of the earth.

Arguments:

  • name: A pycrs.datums.DatumName instance with the name given by each supported format.
  • ellipsoid: A pycrs.elements.ellipsoids.Ellipsoid instance.
  • datumshift (optional): A pycrs.elements.parameters.DatumShift instance.

def to_esri_wkt(

self)

Inheritance: Datum.to_esri_wkt

def to_geotiff(

self)

Inheritance: Datum.to_geotiff

def to_ogc_wkt(

self)

Inheritance: Datum.to_ogc_wkt

def to_proj4(

self)

Inheritance: Datum.to_proj4