Copyright | (c) 2020 Cedric Liegeois |
---|---|
License | BSD3 |
Maintainer | Cedric Liegeois <ofmooseandmen@yahoo.fr> |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Functions related to latitudes & longitudes.
Synopsis
- isValidLatLong :: Model a => Angle -> Angle -> a -> Bool
- latLongDmsP :: Model a => a -> ReadP (Angle, Angle)
- latLongDmsCompactP :: Model a => a -> ReadP (Angle, Angle)
- latLongDmsSymbolsP :: Model a => a -> ReadP (Angle, Angle)
- showLatLong :: (Angle, Angle) -> String
Documentation
isValidLatLong :: Model a => Angle -> Angle -> a -> Bool Source #
isValidLatLong lat lon m
determines whether the given latitude & longitude are
both valid for model m
.
latLongDmsCompactP :: Model a => a -> ReadP (Angle, Angle) Source #
reads latitude and longitude in DD(D)MMSS.