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, H, lat, lon, height, datum) with local RDx, RDy and (orthometric) height H, geodetic lat, lon, (ellipsoidal) height and datum with lat and lon in degrees and with RDx, RDy, H and height in meter, conventionally.


Note: By default lat, lon and datum are GRS80 (ETRS89) 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 RD-Bessel (Bessel1841).
 
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 ETRS89 (GRS80).

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
Get the longitude (radians).
  latlon
Get the lat-, longitude in degrees (LatLon2Tuple(lat, lon)).
  latlonheight
Get the lat-, longitude in degrees and height (LatLon3Tuple(lat, lon, height)).
  latlonheightdatum
Get the lat-, longitude in degrees with height and datum (LatLon4Tuple(lat, lon, height, datum)).
  latlonNgeoid
Get the lat-, longitude in degrees and geoid height (LatLonN3Tuple(lat, lon, N)).
  N
Get the geoid height N (meter, conventionally).
  NAPh
DEPRECATED on 2026.07.21, use attribute H.
  phi
Get the latitude (radians).
  philam
Get the lat- and longitude in radians (PhiLam2Tuple(phi, lam)).
  philamheight
Get the lat-, longitude in radians and height (PhiLam3Tuple(phi, lam, height)).
  philamheightdatum
Get the lat-, longitude in radians with height and datum (PhiLamn4Tuple(phi, lam, height, datum)).
  xy
Get the local RDx, RDy coordinates (Vector2Tuple(x, y)).
  xyz
Get the local RDx, RDy coordinates and (orthometric) height (Vector3Tuple(x, y, z)).

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 - Datum diff (Datum, None or NAN).
  • name - Optional name (str).
Returns:
An RDNAP7Tuple with the fabs(diff) for each item, except datum as 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.toETRS and RDNAP7Tuple.toRD.

toETRS (self, **name)

 

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

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 ellipsoidal 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 ETRS89 (GRS80).

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

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


Property Details

lam

Get the longitude (radians).

Get method:
lam(self) - Get the longitude (radians).
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

latlon

Get the lat-, longitude in degrees (LatLon2Tuple(lat, lon)).

Get method:
latlon(self) - Get the lat-, longitude in degrees (LatLon2Tuple(lat, lon)).
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

latlonheight

Get the lat-, longitude in degrees and height (LatLon3Tuple(lat, lon, height)).

Get method:
latlonheight(self) - Get the lat-, longitude in degrees and height (LatLon3Tuple(lat, lon, height)).
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

latlonheightdatum

Get the lat-, longitude in degrees with height and datum (LatLon4Tuple(lat, lon, height, datum)).

Get method:
latlonheightdatum(self) - Get the lat-, longitude in degrees with height and datum (LatLon4Tuple(lat, lon, height, datum)).
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

latlonNgeoid

Get the lat-, longitude in degrees and geoid height (LatLonN3Tuple(lat, lon, N)).

Get method:
latlonNgeoid(self) - Get the lat-, longitude in degrees and geoid height (LatLonN3Tuple(lat, lon, N)).
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

N

Get the geoid height N (meter, conventionally).

Get method:
N(self) - Get the geoid height N (meter, conventionally).
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

NAPh

DEPRECATED on 2026.07.21, use attribute H.

Get method:
NAPh(self) - DEPRECATED on 2026.07.21, use attribute H.
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

phi

Get the latitude (radians).

Get method:
phi(self) - Get the latitude (radians).
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

philam

Get the lat- and longitude in radians (PhiLam2Tuple(phi, lam)).

Get method:
philam(self) - Get the lat- and longitude in radians (PhiLam2Tuple(phi, lam)).
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

philamheight

Get the lat-, longitude in radians and height (PhiLam3Tuple(phi, lam, height)).

Get method:
philamheight(self) - Get the lat-, longitude in radians and height (PhiLam3Tuple(phi, lam, height)).
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

philamheightdatum

Get the lat-, longitude in radians with height and datum (PhiLamn4Tuple(phi, lam, height, datum)).

Get method:
philamheightdatum(self) - Get the lat-, longitude in radians with height and datum (PhiLamn4Tuple(phi, lam, height, datum)).
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

xy

Get the local RDx, RDy coordinates (Vector2Tuple(x, y)).

Get method:
xy(self) - Get the local RDx, RDy coordinates (Vector2Tuple(x, y)).
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

xyz

Get the local RDx, RDy coordinates and (orthometric) height (Vector3Tuple(x, y, z)).

Get method:
xyz(self) - Get the local RDx, RDy coordinates and (orthometric) height (Vector3Tuple(x, y, z)).
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.