Top

pycrs.elements.units module

Functions

def find(

unitname, crstype, strict=False)

Classes

class Degree

Ancestors (in MRO)

Methods

def __init__(

self, **kwargs)

Inheritance: Unit.__init__

Distance unit parameter.

Args:

  • unitname: A pycrs.elements.units.UnitName instance with the name given by each supported format.
  • unitmultiplier: A pycrs.elements.units.UnitMultiplier instance.

def to_esri_wkt(

self)

Inheritance: Unit.to_esri_wkt

def to_ogc_wkt(

self)

Inheritance: Unit.to_ogc_wkt

def to_proj4(

self)

Inheritance: Unit.to_proj4

class International_Feet

Ancestors (in MRO)

Methods

def __init__(

self, **kwargs)

Inheritance: Unit.__init__

Distance unit parameter.

Args:

  • unitname: A pycrs.elements.units.UnitName instance with the name given by each supported format.
  • unitmultiplier: A pycrs.elements.units.UnitMultiplier instance.

def to_esri_wkt(

self)

Inheritance: Unit.to_esri_wkt

def to_ogc_wkt(

self)

Inheritance: Unit.to_ogc_wkt

def to_proj4(

self)

Inheritance: Unit.to_proj4

class Meter

Ancestors (in MRO)

Methods

def __init__(

self, **kwargs)

Inheritance: Unit.__init__

Distance unit parameter.

Args:

  • unitname: A pycrs.elements.units.UnitName instance with the name given by each supported format.
  • unitmultiplier: A pycrs.elements.units.UnitMultiplier instance.

def to_esri_wkt(

self)

Inheritance: Unit.to_esri_wkt

def to_ogc_wkt(

self)

Inheritance: Unit.to_ogc_wkt

def to_proj4(

self)

Inheritance: Unit.to_proj4

class US_Feet

Ancestors (in MRO)

Methods

def __init__(

self, **kwargs)

Inheritance: Unit.__init__

Distance unit parameter.

Args:

  • unitname: A pycrs.elements.units.UnitName instance with the name given by each supported format.
  • unitmultiplier: A pycrs.elements.units.UnitMultiplier instance.

def to_esri_wkt(

self)

Inheritance: Unit.to_esri_wkt

def to_ogc_wkt(

self)

Inheritance: Unit.to_ogc_wkt

def to_proj4(

self)

Inheritance: Unit.to_proj4

class Unit

Ancestors (in MRO)

Methods

def __init__(

self, **kwargs)

Distance unit parameter.

Args:

  • unitname: A pycrs.elements.units.UnitName instance with the name given by each supported format.
  • unitmultiplier: A pycrs.elements.units.UnitMultiplier instance.

def to_esri_wkt(

self)

def to_ogc_wkt(

self)

def to_proj4(

self)

class UnitMultiplier

Ancestors (in MRO)

Methods

def __init__(

self, value)

The multiplier factor for converting coordinate units to the coordinate system reference unit. For linear units this is usually to meters, for angular units usually radians.

Arguments:

  • value: the meter multiplier, as a float.

class UnitName

Ancestors (in MRO)

Methods

def __init__(

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

class Unknown

Ancestors (in MRO)

Methods

def __init__(

self, **kwargs)

Inheritance: Unit.__init__

Distance unit parameter.

Args:

  • unitname: A pycrs.elements.units.UnitName instance with the name given by each supported format.
  • unitmultiplier: A pycrs.elements.units.UnitMultiplier instance.

def to_esri_wkt(

self)

Inheritance: Unit.to_esri_wkt

def to_ogc_wkt(

self)

Inheritance: Unit.to_ogc_wkt

def to_proj4(

self)

Inheritance: Unit.to_proj4