forward (self,
latlonh,
lon=None,
height=0,
M=None,
name='')
|
|
Convert WGS84 geodetic to Swiss projection coordinates.
Must be overloaded.
- Arguments:
latlonh - Either a LatLon, Ltp or
scalar (geodetic) latitude (degrees).
lon - Optional, scalar (geodetic) longitude for
scalar latlonh
(degrees).
height - Optional, height, vertically above (or below) the surface of the
ellipsoid (meter) for scalar
latlonh and lon.
M - If True, return the concatenated rotation EcefMatrix iff available for ChLV
only, None otherwise (bool).
name - Optional name (str).
- Returns:
- A ChLV9Tuple
(Y, X, h_, lat, lon, height,
ltp, ecef, M) with the unfalsed Swiss Y, X
coordinates, Swiss h_ height, the given geodetic
lat, lon and height, this
ChLV* instance and ecef (Ecef9Tuple) at Bern, Ch and rotation
matrix M. The returned ltp is this
ChLV, ChLVa or ChLVe
instance.
- Raises:
LocalError - Invalid or non-scalar latlonh,
lon or height.
- Overrides:
LocalCartesian.forward
- (inherited documentation)
|