wroge / elm-geodesy / Geodesy.WGS84

A coordinate transformation library for dhdn2001 coordinate reference systems in elm.

Types


type alias CoordinateReferenceSystem x =
( x -> Geocentric
, Geocentric -> x 
)

CoordinateReferenceSystem represents coordinate reference systems based on wgs84.


type Geocentric
    = Geocentric Geodesy.Geocentric

Geocentric is represented by x, y, and z coordinates.


type Geographic
    = Geographic Geodesy.Geographic

Geographic is represented by longitude, latitude and height coordinates.


type UTM
    = UTM Zone Geodesy.Projected

UTM is represented by a zone and eastern, northern and height coordinates.


type WebMercator
    = WebMercator Geodesy.Projected

WebMercator is represented by eastern, northern and height coordinates.


type Zone
    = Zone01
    | Zone02
    | Zone03
    | Zone04
    | Zone05
    | Zone06
    | Zone07
    | Zone08
    | Zone09
    | Zone10
    | Zone11
    | Zone12
    | Zone13
    | Zone14
    | Zone15
    | Zone16
    | Zone17
    | Zone18
    | Zone19
    | Zone20
    | Zone21
    | Zone22
    | Zone23
    | Zone24
    | Zone25
    | Zone26
    | Zone27
    | Zone28
    | Zone29
    | Zone30
    | Zone31
    | Zone32
    | Zone33
    | Zone34
    | Zone35
    | Zone36
    | Zone37
    | Zone38
    | Zone39
    | Zone40
    | Zone41
    | Zone42
    | Zone43
    | Zone44
    | Zone45
    | Zone46
    | Zone47
    | Zone48
    | Zone49
    | Zone50
    | Zone51
    | Zone52
    | Zone53
    | Zone54
    | Zone55
    | Zone56
    | Zone57
    | Zone58
    | Zone59
    | Zone60

Zone represents the WGS84 UTM Zones.

Functions

geocentric : CoordinateReferenceSystem Geocentric

geocentric represents the WGS84 geocentric coordinate reference system.

geographic : CoordinateReferenceSystem Geographic

geographic represents the WGS84 geographic coordinate reference system.

helmert : Helmert -> CoordinateReferenceSystem Geodesy.Geocentric

helmert transforms geocentric coorinates by 7 parameters.

spheroid : Geodesy.Spheroid

spheroid represents WGS84 Spheroid.

transform : CoordinateReferenceSystem x -> CoordinateReferenceSystem y -> x -> y

transform transforms coordinates from one coordinate reference system to another.

utm : CoordinateReferenceSystem UTM

utm represents the WGS84 utm coordinate reference system.

webMercator : CoordinateReferenceSystem WebMercator

webMercator represents the WGS84 web mercator coordinate reference system.