Package pygeodesy :: Module utmupsBase :: Class UtmUpsBase |
[frames] | no frames]

# Class UtmUpsBase

      object --+
               |
    named._Named --+
                   |
    named._NamedBase --+
                       |
                      UtmUpsBase

Known Subclasses:
  - utm.Utm
  - , ups.Ups

(INTERNAL) Base class for Utm and Ups coordinates.

Instance Methods
__repr__(self) Default `repr(self)`. |
__str__(self) Default `str(self)`. |
to2en(self, falsed=True) Return easting and northing, falsed or unfalsed. |
toEpsg(self) Determine the EPSG (European Petroleum Survey Group) code. |
Inherited from `named._NamedBase`: `others`, `toStr`, `toStr2` Inherited from `named._Named`: `_dot_`, `attrs`, `classof`, `copy` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__init__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__subclasshook__`

Properties
| convergence An immutable property (`Read Only`).
| datum An immutable property (`Read Only`).
| easting An immutable property (`Read Only`).
| falsed An immutable property (`Read Only`).
| falsed2 An immutable property (`Read Only`).
| hemisphere An immutable property (`Read Only`).
| northing An immutable property (`Read Only`).
| scale An immutable property (`Read Only`).
| scale0 An immutable property (`Read Only`).
Inherited from `named._Named`: `classname`, `classnaming`, `name`, `named`, `named2` Inherited from `object`: `__class__`

Method Details

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

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

### to2en(self, falsed=True) |
Return easting and northing, falsed or unfalsed. Parameters: `falsed` - Return easting and northing falsed (`bool`), otherwise unfalsed. Returns: An EasNor2Tuple`(easting, northing)`.

### toEpsg(self) |
Determine the EPSG (European Petroleum Survey Group) code. Returns: `EPSG` code (`int`). Raises: `EPSGError` - See Epsg.

Property Details

### convergence An immutable property (`Read Only`). Get Method: convergence(self) - Get the meridian convergence (`degrees`) or `None`. Set Method: immutable(inst, value) - Throws an `AttributeError`, always.

### datum An immutable property (`Read Only`). Get Method: datum(self) - Get the datum (Datum). Set Method: immutable(inst, value) - Throws an `AttributeError`, always.

### easting An immutable property (`Read Only`). Get Method: easting(self) - Get the easting (`meter`). Set Method: immutable(inst, value) - Throws an `AttributeError`, always.

### falsed An immutable property (`Read Only`). Get Method: falsed(self) - Get easting and northing falsed (`bool`). Set Method: immutable(inst, value) - Throws an `AttributeError`, always.

### falsed2 An immutable property (`Read Only`). Get Method: falsed2(self) - (INTERNAL) Must be overloaded. Set Method: immutable(inst, value) - Throws an `AttributeError`, always.

### hemisphere An immutable property (`Read Only`). Get Method: hemisphere(self) - Get the hemisphere (`str`, 'N'|'S'). Set Method: immutable(inst, value) - Throws an `AttributeError`, always.

### northing An immutable property (`Read Only`). Get Method: northing(self) - Get the northing (`meter`). Set Method: immutable(inst, value) - Throws an `AttributeError`, always.

### scale An immutable property (`Read Only`). Get Method: scale(self) - Get the grid scale (`float`) or `None`. Set Method: immutable(inst, value) - Throws an `AttributeError`, always.

### scale0 An immutable property (`Read Only`). Get Method: scale0(self) - Get the central scale factor (`float`). Set Method: immutable(inst, value) - Throws an `AttributeError`, always.