geo v3.0.0 Release Notes
Release Date: 2018-04-14 // almost 6 years ago-
➕ Add
Geo.WKT.encode!
Geo.WKT.decode!
Geo.WKB.encode!
Geo.WKB.decode!
Geo.JSON.encode!
Geo.JSON.decode!
✨ Enhancement
- Geometry struct now have a
properties
field. This is used to convert GeoJSON properties
- Geometry struct now have a
💥 Breaking
Geo.WKT.encode
now returns either{:ok, binary}
or{:error, exception}
Geo.WKT.decode
now returns either{:ok, geometry}
or{:error, exception}
Geo.WKB.encode
now returns either{:ok, binary}
or{:error, exception}
Geo.WKB.decode
now returns either{:ok, geometry}
or{:error, exception}
Geo.JSON.encode
now returns either{:ok, map}
or{:error, exception}
Geo.JSON.decode
now returns either{:ok, geom}
or{:error, exception}
- All Ecto.Type behaviour implementations were removed. This may not effect too many people, but it was moved to the geo_postgis package