Geocalc v0.8.1 API Reference

Modules

Calculate distance, bearing and more between Latitude/Longitude points.

The Geocalc.DMS is a struct which contains degrees, minutes, seconds and cardinal direction. Also have functions to convert DMS to decimal degrees.

The Geocalc.Point protocol is responsible for receiving latitude and longitude from any Elixir data structure. At this time it have implementations only for Map, Tuple and List. Point values can be decimal degrees or DMS (degrees, minutes, seconds).