geodesicd

D wraper for Geodesic part of GeographicLib


Keywords
library, binding, scientific, numeric, general, dlang, geospatial, gis
License
MIT
Install
dub fetch geodesicd --version 0.0.3

Documentation

GeodesicD

dlang wraper for Geodesic part of GeographicLib 1.49. D Programming Language.

The simple wraper of inverse and direct functions.

Example


import geodesicd;
auto g1 = Geodesic(EllipsoidWGS84);
auto p1 = LatLon(54.5, 18.5);
auto p2 = LatLon(55.5, 17.5);
auto g_out1 = g1.inverse(p1, p2);

auto g_out2 = g1.direct(p1, AzDist(90.0, 50000.0));

Dependencies

  • dlang compiler
  • GCC - used for compilation of original geodesic C library as static library

TODO

  • rest of geodesic library
  • rewrite unittests from geodtest.c