Package pyrdnap :: Module rd0 :: Class RDNAP7Tuple
[frames] | no frames]

Class RDNAP7Tuple

             object --+        
                      |        
                  tuple --+    
                          |    
             object --+   |    
                      |   |    
 pygeodesy.named._Named --+    
                          |    
pygeodesy.named._NamedTuple --+
                              |
                             RDNAP7Tuple

7-Tuple (RDx, RDy, NAPh, lat, lon, height, datum) with local RDx, RDy and NAPh quasi-geoid_height, geodetic lat, lon, height and datum with lat and lon in degrees and with RDx, RDy, NAPh and height in meter, conventionally.


Note: The lat, lon and datum are by default GRS80 (ETRS89) geodetic when returned from RDNAP2018v1.reverse but Bessel1841 (RD-Bessel) from RDNAP2018v2.reverse.

Instance Methods
 
diff(self, other, datum=None, **name)
Return the difference between this and an other RDNAP7Tuple.
 
toDatum(self, datum2, **name)
Convert this lat, lon and height to datum2.
 
toETRS(self, **name)
Copy this RDNAP7Tuple with lat and lon reverse3 transformed to ETRS89 (GRS80), provided this datum is Bessel1841 (RD-Bessel).
 
toLatLon(self, LatLon, **LatLon_kwds)
Return this lat, lon, datum and height as LatLon.
 
toRD(self, **name)
Copy this RDNAP7Tuple with lat and lon forward3 transformed to RD-Bessel (Bessel1841), provided this datum is GRS80 (ETRS89).

Inherited from pygeodesy.named._NamedTuple: __delattr__, __getattr__, __hash__, __repr__, __setattr__, __str__, dup, items, iteritems, iterunits, reUnit, toRepr, toStr, toUnits, units

Inherited from tuple: __add__, __contains__, __eq__, __ge__, __getattribute__, __getitem__, __getnewargs__, __getslice__, __gt__, __iter__, __le__, __len__, __lt__, __mul__, __ne__, __rmul__, count, index

Inherited from pygeodesy.named._Named: __format__, __imatmul__, __matmul__, __rmatmul__, attrs, classof, copy, methodname, rename, renamed, toStr2

Inherited from object: __init__, __reduce__, __reduce_ex__, __sizeof__, __subclasshook__

Static Methods

Inherited from pygeodesy.named._NamedTuple: __new__

Properties
  lam
  latlon
  latlonheight
  latlonheightdatum
  phi
  philam
  philamheight
  philamheightdatum
  xy
  xyz

Inherited from pygeodesy.named._Named: classname, classnaming, iteration, name, named, named2, named3, named4, sizeof, typename

Inherited from object: __class__

Method Details

diff (self, other, datum=None, **name)

 

Return the difference between this and an other RDNAP7Tuple.

Arguments:
  • datum - Optional difference datum=None (Latum).
  • name - Optional name (str).
Returns:
An RDNAP7Tuple with the _diff for each item, but datum=datum.

toDatum (self, datum2, **name)

 

Convert this lat, lon and height to datum2.

Arguments:
  • datum2 - Datum to convert to (Datum).
  • name - Optional name (str), overriding this name.
Returns:
An RDNAP7Tuple with transformed lat, lon and height or this RDNAP7Tuple if this.datum is datum2.

Note: This datum conversion is based on pygeodesy which differs from RDNAPTRANS(tm)2018_v220627.

See Also: Methods RDNAP7Tuple.asETRS and RDNAP7Tuple.asRD.

toETRS (self, **name)

 

Copy this RDNAP7Tuple with lat and lon reverse3 transformed to ETRS89 (GRS80), provided this datum is Bessel1841 (RD-Bessel).

Arguments:
  • name - Optional name (str), overriding this name.

See Also: Methods RDNAP7Tuple.toRD and RDNAP7Tuple.toDatum.

toLatLon (self, LatLon, **LatLon_kwds)

 

Return this lat, lon, datum and height as LatLon.

Arguments:
  • LatLon - An ellipsodial LatLon class (pygeodesy.ellipsoidal*).
  • LatLon_kwds - Optional, additional LatLon keyword arguments.
Returns:
An LatLon instance.
Raises:
  • TypeError - LatLon not ellipsoidal or an other issue.

toRD (self, **name)

 

Copy this RDNAP7Tuple with lat and lon forward3 transformed to RD-Bessel (Bessel1841), provided this datum is GRS80 (ETRS89).

Arguments:
  • name - Optional name (str), overriding this name.

See Also: Methods RDNAP7Tuple.toETRS and RDNAP7Tuple.toDatum.


Property Details

lam

Get method:
_fget(inst) - Get and cache/memoize the property value.
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

latlon

Get method:
_fget(inst) - Get and cache/memoize the property value.
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

latlonheight

Get method:
_fget(inst) - Get and cache/memoize the property value.
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

latlonheightdatum

Get method:
_fget(inst) - Get and cache/memoize the property value.
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

phi

Get method:
_fget(inst) - Get and cache/memoize the property value.
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

philam

Get method:
_fget(inst) - Get and cache/memoize the property value.
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

philamheight

Get method:
_fget(inst) - Get and cache/memoize the property value.
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

philamheightdatum

Get method:
_fget(inst) - Get and cache/memoize the property value.
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

xy

Get method:
_fget(inst) - Get and cache/memoize the property value.
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

xyz

Get method:
_fget(inst) - Get and cache/memoize the property value.
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.