Safe Haskell | Safe |
---|---|

Language | Haskell2010 |

The default reader for Geodetic ground positions is flexible but slow. If you are going to read positions in a known format and performance matters then use one of the more specialised parsers here.

## Synopsis

- degreesMinutesSeconds :: ReadP Double
- degreesMinutesSecondsUnits :: ReadP Double
- degreesDecimalMinutes :: ReadP Double
- degreesDecimalMinutesUnits :: ReadP Double
- dms7 :: ReadP Double
- angle :: ReadP Double
- latitudeNS :: ReadP Double
- longitudeEW :: ReadP Double
- signedLatLong :: ReadP (Double, Double)
- latLong :: ReadP (Double, Double)

# Documentation

degreesMinutesSeconds :: ReadP Double Source #

Parse an unsigned angle written using degrees, minutes and seconds separated by spaces. All except the last must be integers.

degreesMinutesSecondsUnits :: ReadP Double Source #

Parse an unsigned angle written using degrees, minutes and seconds with units (° ' "). At least one component must be specified.

degreesDecimalMinutes :: ReadP Double Source #

Parse an unsigned angle written using degrees and decimal minutes.

degreesDecimalMinutesUnits :: ReadP Double Source #

Parse an unsigned angle written using degrees and decimal minutes with units (° ')

Parse an unsigned angle written in DDDMMSS.ss format. Leading zeros on the degrees and decimal places on the seconds are optional

angle :: ReadP Double Source #

Parse an unsigned angle, either in decimal degrees or in degrees, minutes and seconds. In the latter case the unit indicators are optional.

latitudeNS :: ReadP Double Source #

Parse latitude as an unsigned angle followed by `N`

or `S`

longitudeEW :: ReadP Double Source #

Parse longitude as an unsigned angle followed by `E`

or `W`

.