https://github.com/qbazd/geodesicd
dlang warper for Geodesic part of GeographicLib
https://github.com/qbazd/geodesicd
dlang geospatial gis library
Last synced: 6 months ago
JSON representation
dlang warper for Geodesic part of GeographicLib
- Host: GitHub
- URL: https://github.com/qbazd/geodesicd
- Owner: qbazd
- Created: 2018-02-25T17:29:11.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-20T06:24:09.000Z (about 8 years ago)
- Last Synced: 2024-01-30T00:04:29.184Z (over 2 years ago)
- Topics: dlang, geospatial, gis, library
- Language: C
- Size: 42 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
GeodesicD
=========
dlang wraper for Geodesic part of [GeographicLib 1.49](https://geographiclib.sourceforge.io/).
[D Programming Language](http://dlang.org).
The simple wraper of inverse and direct functions.
Example
-------
```dlang
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