jord-0.4.1.0: Geographical Position Calculations

Copyright (c) 2018 Cedric Liegeois BSD3 Cedric Liegeois experimental portable Safe Haskell2010

Data.Geo.Jord.Transformation

Description

Transformations between coordinates systems both in spherical and ellipsoidal form.

All functions are implemented using the vector-based approached described in Gade, K. (2010). A Non-singular Horizontal Position Representation

Synopsis

Documentation

class NTransform a where Source #

Transformation between positions and AngularPosition of NVector.

Minimal complete definition

Methods

Arguments

 :: a -> AngularPosition NVector position to AngularPosition of NVector.

Arguments

 :: AngularPosition NVector -> a AngularPosition of NVector and height to position.
Instances
 Source # LatLong - AngularPosition of NVector. Instance detailsDefined in Data.Geo.Jord.Transformation Methods Source # NVector - AngularPosition of NVector. Instance detailsDefined in Data.Geo.Jord.Transformation Methods Source # AngularPosition of LatLong - AngularPosition of NVector. Instance detailsDefined in Data.Geo.Jord.Transformation Methods Source # NTransform identity. Instance detailsDefined in Data.Geo.Jord.Transformation Methods

class ETransform a where Source #

Transformation between EcefPosition and angular or n-vector positions.

Minimal complete definition

Methods

Arguments

 :: a -> Earth -> EcefPosition position and earth model to to EcefPosition.

Arguments

 :: EcefPosition -> Earth -> a EcefPosition and earth model to position.
Instances
 Source # LatLong - EcefPosition. Instance detailsDefined in Data.Geo.Jord.Transformation Methods Source # NVector - EcefPosition. Instance detailsDefined in Data.Geo.Jord.Transformation Methods Source # ETransform identity. Instance detailsDefined in Data.Geo.Jord.Transformation Methods Source # AngularPosition of LatLong - EcefPosition. Instance detailsDefined in Data.Geo.Jord.Transformation Methods Source # AngularPosition of NVector - EcefPosition. Instance detailsDefined in Data.Geo.Jord.Transformation Methods

nvectorToLatLong v transforms NVector v to an equivalent LatLong.

See also toNVector.

latLongToNVector ll transforms LatLong ll to an equivalent NVector.

See also fromNVector.

ecefToNVector p e transforms EcefPosition p to an equivalent NVector and geodetic height using earth model e.

See also fromEcef

nvectorToEcef (n, h) e transforms NVector n and geodetic height h to an equivalent EcefPosition using earth model e.

See also toEcef

geodeticHeight p e computes the geodetic height of EcefPosition p using earth model e.

The geodetic height (or ellipsoidal height) is not the mean sea level (MSL) height.