Skip to content

A cross-platform library providing calculators and conversion tools for earthly coordinate systems.

Notifications You must be signed in to change notification settings

MadeByPi/cartography-coordinate-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cartography-coordinate-tools

A cross-platform library providing calculators and conversion tools for earthly coordinate systems.

With these classes you can:

  • Calculate distance, bearing, and more - between Latitude/Longitude points
  • Convert between Latitude/Longitude & OS National Grid Reference points
  • Convert co-ordinates between WGS-84 and OSGB36

Tests

Uses munit, with tests and coverage for JS, Flash, Neko, and C++ targets

haxelib run munit test -coverage

Examples

  • This gist shows the conversion of UK postcode points from OS grid references (Easting/Northing) to Lan/Lon pairs.
  • bin/index.html shows simple setup + use of the library as a JS module.

Ported from JS libraries by Chris Veness:

Licence

About

A cross-platform library providing calculators and conversion tools for earthly coordinate systems.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages