hcoord-1.0.0.0: Easily convert between latitude/longitude, UTM and OSGB.

Safe HaskellSafe
LanguageHaskell2010

Datum

Synopsis

Documentation

data Datum Source #

To represent a set of parameters for describing a particular datum, including a name, the reference ellipsoid used and the seven parameters required to translate co-ordinates in this datum to the WGS84 datum.

Constructors

Datum 

Fields

  • name :: String

    The name of this Datum.

  • ellipsoid :: Ellipsoid

    The reference ellipsoid associated with this Datum.

  • dx :: Double

    Translation along the x-axis for use in 7-parameter Helmert transformations. This value should be used to convert a co-ordinate in a given datum to the WGS84 datum.

  • dy :: Double

    Translation along the y-axis for use in 7-parameter Helmert transformations. This value should be used to convert a co-ordinate in a given datum to the WGS84 datum.

  • dz :: Double

    Translation along the z-axis for use in 7-parameter Helmert transformations. This value should be used to convert a co-ordinate in a given datum to the WGS84 datum.

  • ds :: Double

    Scale factor for use in 7-parameter Helmert transformations. This value should be used to convert a co-ordinate in a given datum to the WGS84 datum.

  • rx :: Double

    Rotation about the x-axis for use in 7-parameter Helmert transformations. This value should be used to convert a co-ordinate in a given datum to the WGS84 datum.

  • ry :: Double

    Rotation about the y-axis for use in 7-parameter Helmert transformations. This value should be used to convert a co-ordinate in a given datum to the WGS84 datum.

  • rz :: Double

    Rotation about the z-axis for use in 7-parameter Helmert transformations. This value should be used to convert a co-ordinate in a given datum to the WGS84 datum.

Instances

Eq Datum Source # 

Methods

(==) :: Datum -> Datum -> Bool #

(/=) :: Datum -> Datum -> Bool #

Show Datum Source # 

Methods

showsPrec :: Int -> Datum -> ShowS #

show :: Datum -> String #

showList :: [Datum] -> ShowS #

etrf89Datum :: Datum Source #

Pre-determined data: