jord: Geographical Position Calculations

[ bsd3, geography, library, program ] [ Propose Tags ]

Please see the README on GitHub at

[Skip to Readme]
Versions [faq],,,,,,,,
Change log
Dependencies base (>=4.9 && <5), haskeline (==0.7.*), jord [details]
License BSD-3-Clause
Copyright 2018 Cedric Liegeois
Author Cedric Liegeois
Maintainer Cedric Liegeois <>
Category Geography
Home page
Bug tracker
Source repo head: git clone
Uploaded by CedricLiegeois at Mon Jul 16 12:26:08 UTC 2018
Distributions NixOS:
Executables jord-exe
Downloads 809 total (154 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for jord-

[back to package description]

Jord - Geographical Position Calculations

travis build status Hackage license

Jord [Swedish] is Earth [English]

What is this?

Jord is a Haskell library that implements various geographical position calculations using the algorithms described in Gade, K. (2010). A Non-singular Horizontal Position Representation.

How do I build it?

If you have Stack, then:

$ stack build --test

How do I use it?

See documentation on Hackage

import Data.Geo.Jord

-- destination position from 531914N0014347W having travelled 500Nm on a heading of 96.0217°
destination (readGeoPos "531914N0014347W") (decimalDegrees 96.0217) (nauticalMiles 500)

-- distance between 54°N,154°E and its antipodal position
let p = latLongDecimal 54 154
distance p (antipode p)

Jord comes with a REPL (built with haskeline):

$ jord-exe
jord> finalBearing (destination (antipode 54°N,154°E) 54° 1000m) 54°N,154°E
jord> angle: 126°0'0.0"