Changelog

View Source

1.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 now LineString.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 just binary. 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/ and Geometry.from_ekwt are added to work with EWKT/EWKB.
  • The functions Geometry.to_wkb/2 and Geometry.to_ewkb/2 do not have an option to genrate HEX strings. A HEX string can be created with Base.encode16/1.

0.3.2 - 2022/12/11

  • Refactor slice implementations.
  • Add recode package.

0.3.1 - 2022/01/30

0.3.0 - 2020/11/26

Breaking changes

  • Change return value for from_wkb and from_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.