Package pygeodesy :: Module epsg :: Class Epsg |
[frames] | no frames]

# Class Epsg

      object --+
               |
             int --+
                   |
      object --+   |
               |   |
    named._Named --+
                   |
     named._NamedInt --+
                       |
                      Epsg

EPSG class, a `_NamedInt`.

Instance Methods
__repr__(self) repr(x) |
__str__(self) str(x) |
utmupsStr(self, B=False) Get the UTM/TMP zone, band and hemisphere (`str`). |
Inherited from `named._NamedInt`: `toStr`, `toStr2` Inherited from `int`: `__abs__`, `__add__`, `__and__`, `__cmp__`, `__coerce__`, `__div__`, `__divmod__`, `__float__`, `__floordiv__`, `__format__`, `__getattribute__`, `__getnewargs__`, `__hash__`, `__hex__`, `__index__`, `__int__`, `__invert__`, `__long__`, `__lshift__`, `__mod__`, `__mul__`, `__neg__`, `__nonzero__`, `__oct__`, `__or__`, `__pos__`, `__pow__`, `__radd__`, `__rand__`, `__rdiv__`, `__rdivmod__`, `__rfloordiv__`, `__rlshift__`, `__rmod__`, `__rmul__`, `__ror__`, `__rpow__`, `__rrshift__`, `__rshift__`, `__rsub__`, `__rtruediv__`, `__rxor__`, `__sub__`, `__truediv__`, `__trunc__`, `__xor__`, `bit_length`, `conjugate` Inherited from `named._Named`: `_dot_`, `attrs`, `classof`, `copy` Inherited from `object`: `__delattr__`, `__init__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__subclasshook__`

Static Methods
a new object with type S, a subtype of T |
__new__(cls, eisu) New Epsg European Petroleum Survey Group (EPSG) code from a UTM/USP coordinate or other EPSG code. |

Properties
| band
| hemisphere
| utmups
| zone
Inherited from `int`: `denominator`, `imag`, `numerator`, `real` Inherited from `named._Named`: `classname`, `classnaming`, `name`, `named`, `named2` Inherited from `object`: `__class__`

Method Details

### __new__(cls, eisu) Static Method |
New Epsg European Petroleum Survey Group (EPSG) code from a UTM/USP coordinate or other EPSG code. Parameters: `eisu` - Other (Epsg, `int`, `str`, Utm or Ups). Returns: a new object with type S, a subtype of T New Epsg. Raises: `TypeError` - Invalid `eisu`. `EPSGError` - Invalid `eisu`. Overrides: object.__new__

### __repr__(self) (Representation operator) |
repr(x) Overrides: object.__repr__ (inherited documentation)

### __str__(self) (Informal representation operator) |
str(x) Overrides: object.__str__ (inherited documentation)

Property Details

### band Get method: band(self) - Get the UTM/UPS Band (`'A'|'B'|'C'|'D'..'W'|'X'|'Y'|'Z'` or `""`). Set method: immutable(inst, value) - Throws an `AttributeError`, always.

### hemisphere Get method: hemisphere(self) - Get the UTM/UPS hemisphere (`'N'|'S'`). Set method: immutable(inst, value) - Throws an `AttributeError`, always.

### utmups Get method: utmups(self) - Get the UTM/TMP original (Utm, Ups). Set method: immutable(inst, value) - Throws an `AttributeError`, always.

### zone Get method: zone(self) - Get the UTM/UPS zone (`int`, `1..60` for UTM, `0` for UPS). Set method: immutable(inst, value) - Throws an `AttributeError`, always.