Changelog
View Source1.1.0 - 2025/07/01
- Upcase WKT geometry types as per the standard. (Aaron Seigo)
1.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.coordinates
is nowLineString.path
. (Aaron Seigo) - Fix: The WKT parser no longer drops leading
0
after a.
in values. (Aaron Seigo)
0.4.0 - 2023/03/12
Breaking changes
- 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{coordinates: [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
.
0.3.2 - 2022/12/11
- Refactor
slice
implementations. - Add
recode
package.
0.3.1 - 2022/01/30
- Use
Base.encode16/1
andBase.decode16!/1
- Add dep
:prove
- Require Elixir version
~> 1.11
0.3.0 - 2020/11/26
Breaking changes
- Change return value for
from_wkb
andfrom_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.