API Reference Geocalc v0.8.5
modules
Modules
Calculate distance, bearing and more between Latitude/Longitude points.
The Geocalc.DMS is a struct which contains degrees, minutes, seconds and
cardinal direction.
The Geocalc.Point protocol is responsible for receiving latitude and
longitude from any Elixir data structure.
Geocalc.Shape contains Circle, Rectangle and Ellipse shapes.
Circle describes a circular geographical area, centered on latitude,
longitude, with a radius in meters.
Ellipse describes an elliptic geographical area, centered on latitude,
longitude (could be Decimal degrees or Geocalc.DMS), with
long_semi_axis and short_semi_axis (both in meters) and an azimuth
angle (in degrees).
Rectangle describes a rectangular geographical area, centered on
latitude, longitude (could be Decimal degrees or Geocalc.DMS), with
long_semi_axis and short_semi_axis (both in meters) and an azimuth
angle (in degrees).