talira

WKT, WKB and GeoJSON encoding and decoding for Elixir

open sourceMITfree

Geo is an Elixir library of GIS functions that converts geometries to and from well-known text (WKT), well-known binary (WKB) and GeoJSON: points, line strings, polygons, their multi- variants and Z/M dimensions, and geometry collections. Its companion geo_postgis adds a Postgrex extension for PostGIS.

Problems it solves

  • parse GeoJSON in an Elixir app
  • store PostGIS geometries from Ecto
  • convert WKB from Postgres into Elixir structs

Features

  • WKT, WKB and GeoJSON encoding and decoding
  • points, lines, polygons and collections with Z and M
  • PostGIS support through geo_postgis