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

Class LqRD

            object --+                    
                     |                    
pygeodesy.named._Named --+                
                         |                
pygeodesy.named._NamedBase --+            
                             |            
  pygeodesy.ltp.LocalCartesian --+        
                                 |        
                 pygeodesy.ltp.Ltp --+    
                                     |    
                    pygeodesy.ltp.LqRD --+
                                         |
                                        LqRD

Like pygeodesy.LqRD but with methods forward and reverse returning an RDNAP7Tuple with NAPh replaced by local z, the perpendicular distance to the local tangent plane (LTP).

This quasi-RD transformer does not implement any RD NAP specification and does not provide Netherlands' Normaal Amsterdams Peil (NAP) quasi-geodetic-height.

Instance Methods
 
forward(self, lat_latlonh, lon=None, height=0, **name)
Convert geodetic (lat, lon, height) to local quasi-RD (x, y, z).
 
reverse(self, x_xyz, y=None, z=None, **name)
Convert local quasi-RD (x, y, z) to geodetic (lat, lon, height).

Inherited from pygeodesy.ltp.LqRD: region4

Inherited from pygeodesy.ltp.LocalCartesian: __eq__, reset, toStr

Inherited from pygeodesy.named._NamedBase: __repr__, __str__, others, toRepr

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

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Variables
  __init__ = _LqRD.__init__
New ECEF-based GRS80 (ETRS89) LqRD converter, centered at Amersfoort, NL.

Inherited from pygeodesy.ltp.LqRD: Amersfoort, height0_ETRS

Properties

Inherited from pygeodesy.ltp.LqRD: region, x0, y0

Inherited from pygeodesy.ltp.Ltp: ecef

Inherited from pygeodesy.ltp.LocalCartesian: M, datum, ellipsoid, height0, lat0, latlonheight0, lon0, lon00

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

Inherited from object: __class__

Method Details

forward (self, lat_latlonh, lon=None, height=0, **name)

 

Convert geodetic (lat, lon, height) to local quasi-RD (x, y, z).

Arguments:
  • lat_latlonh - Scalar (geodetic) latitude (degrees) or a local quasi-RD RDNAP7Tuple.
  • lon - Scalar (geodetic) longitude (degrees) iff lat_latlonh is scalar, ignored otherwise.
  • height - Optional height (meter, conventionally) perpendicular to and above (or below) the ellipsoid's surface, iff lat_latlonh is scalar, ignored otherwise.
  • name - Optional name=NN (str).
Returns:
An RDNAP7Tuple(RDx, RDy, NAPh, lat, lon, height, datum) with NAPh set to local z.
Raises:
  • LocalError - If latlonh not scalar, LatLon, Ltp, Ecef9Tuple or invalid or if lon not scalar for scalar latlonh or invalid or if height invalid.
Overrides: pygeodesy.ltp.LocalCartesian.forward

See Also: pygeodesy.LqRD.forward for more information.

reverse (self, x_xyz, y=None, z=None, **name)

 

Convert local quasi-RD (x, y, z) to geodetic (lat, lon, height).

Arguments:
  • x_xyz - Local quasi-RD x coordinate (scalar) or a local quasi-RD RDNAP7Tuple.
  • y - Local quasi-RD y coordinate (meter) iff x_xyz is scalar, ignored otherwise.
  • z - Local z coordinate (meter) iff x_xyz is scalar, ignored otherwise.
  • name - Optional name=NN (str).
Returns:
An RDNAP7Tuple(RDx, RDy, NAPh, lat, lon, height, datum) with NAPh set to local z.
Raises:
  • LocalError - Invalid xyz or scalar x or y and/or z not scalar for scalar xyz.
Overrides: pygeodesy.ltp.LocalCartesian.reverse

See Also: pygeodesy.LqRD.reverse for more information.