Packages

Elixir implementation of the Geobuf format. Geobuf is a compact binary encoding for geographic data. It is based on protobuf, but optimized for encoding geographic data. It is has 1to1 compatibility with GeoJSON.

Current section

Files

Jump to
geobuf lib geobuf.ex
Raw

lib/geobuf.ex

defmodule Geobuf do
@moduledoc """
Documentation for `Geobuf`.
"""
@doc """
decode should convert a %Geobuf.Data.Feature{} struct to a GeoJSON Feature. See unit test
"""
def decode(data) do
DecodeFeature.decode(data)
end
end