jord: Geographic position calculations on Great Circles

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain]

Please see the README on GitHub at https://github.com/ofmooseandmen/jord#readme


[Skip to ReadMe]

Properties

Versions0.1.0.0, 0.1.0.0, 0.2.0.0, 0.3.0.0, 0.3.1.0, 0.4.0.0, 0.4.1.0, 0.4.2.0
Change logChangeLog.md
Dependenciesbase (>=4.7 && <5), haskeline (==0.7.*), jord [details]
LicenseBSD-3-Clause
Copyright2018 Cedric Liegeois
AuthorCedric Liegeois
MaintainerCedric Liegeois <ofmooseandmen@yahoo.com>
CategoryGeography
Home pagehttps://github.com/ofmooseandmen/jord
Bug trackerhttps://github.com/ofmooseandmen/jord/issues
Source repositoryhead: git clone https://github.com/ofmooseandmen/jord
Executablesjord-exe
UploadedSun Jul 15 03:32:41 UTC 2018 by CedricLiegeois

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees


Readme for jord-0.1.0.0

[back to package description]

Jord

travis build status license

Jord [Swedish] is Earth [English] Geographic position calculations on great circles.

What is this?

Jord is a Haskell library that implements various geographical position calculations on great circles 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?

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"