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

Class RDNAP7Tuple

                           object --+            
                                    |            
                                tuple --+        
                                        |        
                           object --+   |        
                                    |   |        
               pygeodesy.named._Named --+        
                                        |        
              pygeodesy.named._NamedTuple --+    
                                            |    
pygeodesy.namedTuples._H_lat_lon_height4Tuple --+
                                                |
                                               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
  latlonheightdatum
Get the lat-, longitude in degrees with height and datum (LatLon4Tuple(lat, lon, height, datum)).
  NAPh
DEPRECATED on 2026.07.21, use attribute H.
  philamheightdatum
Get the lat-, longitude in radians with height and datum (PhiLamn4Tuple(phi, lam, height, datum)).
  xy
DEPRECATED on 2026.08.14, use attribute xyh, xyH or xyN.
  xyh
Get the local coordinates and ellipsoidal height (RDxyheight3Tuple(RDx, RDy, h)).
  xyH
Get the local coordinates and orthometric height (RDxyHeight3Tuple(RDx, RDy, H)).
  xyN
Get the local coordinates and geoid height (RDxyNgeoid3Tuple(RDx, RDy, N)).
  xyz
DEPRECATED on 2026.08.14, use attribute xyH.

Inherited from pygeodesy.namedTuples._H_lat_lon_height4Tuple: N, h, lam, latlon, latlonHeight, latlonNgeoid, latlonheight, phi, philam, philamHeight, philamNgeoid, philamheight

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

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.

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.

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

DEPRECATED on 2026.08.14, use attribute xyh, xyH or xyN.

Get method:
xy(self) - DEPRECATED on 2026.08.14, use attribute xyh, xyH or xyN.
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

xyh

Get the local coordinates and ellipsoidal height (RDxyheight3Tuple(RDx, RDy, h)).

Get method:
xyh(self) - Get the local coordinates and ellipsoidal height (RDxyheight3Tuple(RDx, RDy, h)).
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

xyH

Get the local coordinates and orthometric height (RDxyHeight3Tuple(RDx, RDy, H)).

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

xyN

Get the local coordinates and geoid height (RDxyNgeoid3Tuple(RDx, RDy, N)).

Get method:
xyN(self) - Get the local coordinates and geoid height (RDxyNgeoid3Tuple(RDx, RDy, N)).
Set method:
_fset_error(inst, val) - Throws an AttributeError, always.
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.

xyz

DEPRECATED on 2026.08.14, use attribute xyH.

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