Geodetic-0.3: Geodetic calculations

Data.Geo.DMS

Description

Represent a value in degrees, minutes and seconds.

Synopsis

Documentation

data DMS Source

The structure of a type convertible to degrees, minutes and seconds.

Instances

dms :: Bool -> Int -> Int -> Double -> DMSSource

Construct a value of degrees, minutes and seconds.

showDMS :: DMSable a => a -> StringSource

Show a value in degrees, minutes and seconds.

coordDMS :: Coord -> StringSource

Show a coordinate in degrees, minutes and seconds.