v0.51.0 #633
peterstace
announced in
Announcements
v0.51.0
#633
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
2024-08-19
Special thanks to Albert Teoh for contributing to this release.
Fixes a Polygon validation bug that falsely identified an invalid ring as being valid. The bug occurred in the rare edge case where an inner ring is outside the outer ring and the first control point of the inner ring touches the outer ring.
Upgrades
golangci-lint
tov1.59.1
.Fixes a bug where geometry collections with mixed coordinate types were erroneously allowed during WKT and WKB parsing.
Fixes a bug where the
Simplify
method would drop coordinate type to XY in some scenarios where the result is an empty geometry.Adds a wrapper to the
geos
package for theGEOSTopologyPreserveSimplify_r
function (exposed asTopologyPreserveSimplify
).Adds wrappers to the
geos
package for theGEOSCoverageSimplify_r
andGEOSCoverageSimplifyVW_r
functions (exposed asCoverageIsValid
andCoverageSimplifyVW
).Breaking change: Overhauls the TWKB unmarshalling related functions in a breaking way:
Removes the
UnmarshalTWKBWithHeaders
andUnmarshalTWKBBoundingBoxHeader
functions.Modifies the
UnmarshalTWKBEnvelope
function to return anExtendedEnvelope
(which is a regular XYEnvelope
with the addition of Z and M ranges).Adds
UnmarshalTWKBList
andUnmarshalTWKBSize
functions, which return the (optional) ID list and (optional) sizes of TWKBs without fully unmarshalling them.This discussion was created from the release v0.51.0.
Beta Was this translation helpful? Give feedback.
All reactions