Geo.Turf (geo_turf v0.2.0)

Geo.Turf

An Elixir spatial analysis tool for the Geo library ported from TurfJS.

Warning

At the moment the library is in early development mode. The API could, and propably will, change on any moment.

Usage

The library can perform functions on Geo objects as well as basic mathematic functions useful in spatial analysis. At the moment Geo.Turf expects WGS84 coordinates.

For example:

Suggestions

If there are functions you need from TurfJS or just things you thought of please just make an issue for it. Including a test for it would be great.

Summary

Types

Link to this type

coordinates()

@type coordinates() :: {Number.t(), Number.t()}
@type point() :: Geo.Point.t() | coordinates()