Changelog
View Source1.0.0 - 2025/06/30
- Require Elixir version
~> 1.15
Breaking changes
- All geometries now have an SRID field. (Aaron Seigo)
- Name improvements. For example the
LineString.coordinatesis nowLineString.path. (Aaron Seigo) - Fix: The WKT parser no longer drops leading
0after a.in values. (Aaron Seigo)
0.4.0 - 2023/03/12
Breaking changes
- Require Elixir version
~> 1.14 Geometry.from_wkb/1excepts justbinary. A HEX string must be decoded before.iex> wkb = "00000000013FF0000000000000400199999999999A" iex> wkb |> Base.decode16!() |> Geometry.from_wkb() {:ok, %Geometry.Point{coordinates: [1.0, 2.2]}}- The functions
Geometry.from_ewkb/andGeometry.from_ekwtare added to work withEWKT/EWKB. - The functions
Geometry.to_wkb/2andGeometry.to_ewkb/2do not have an option to genrate HEX strings. A HEX string can be created withBase.encode16/1.
0.3.2 - 2022/12/11
- Refactor
sliceimplementations. - Add
recodepackage.
0.3.1 - 2022/01/30
- Use
Base.encode16/1andBase.decode16!/1 - Add dep
:prove - Require Elixir version
~> 1.11
0.3.0 - 2020/11/26
Breaking changes
- Change return value for
from_wkbandfrom_wkt.
0.2.0 - 2020/11/02
Breaking changes
- Add mode (
:hex/:binary) to from_wkb/2 and from_wkb!/2.
0.1.0 - 2020/10/18
- The very first version.