- Require Elixir version
~> 1.14
Geometry.from_wkb/1
excepts justbinary
. A HEX string must be decoded before.iex> wkb = "00000000013FF0000000000000400199999999999A" iex> wkb |> Base.decode16!() |> Geometry.from_wkb() {:ok, %Geometry.Point{coordinate: [1.0, 2.2]}}
- The functions
Geometry.from_ewkb/
andGeometry.from_ekwt
are added to work withEWKT
/EWKB
. - The functions
Geometry.to_wkb/2
andGeometry.to_ewkb/2
do not have an option to genrate HEX strings. A HEX string can be created withBase.encode16/1
.
- Refactor
slice
implementations. - Add
recode
package.
- Use
Base.encode16/1
andBase.decode16!/1
- Add dep
:prove
- Require Elixir version
~> 1.11
- Change return value for
from_wkb
andfrom_wkt
.
- Add mode (
:hex
/:binary
) to from_wkb/2 and from_wkb!/2.
- The very first version.