A closed ring with only 2 points was crashing libgeos
the ring: [p1, p2, p1] is not valid for geos (and it thus crashes without any nice explanation).
We use the same approach as shapely a quite used geos python wrapper and
we close the unclosed LinearRing
we consider the 2 points closed ring as a 3 points unclosed ring (with the 2 last points beeing at the same position :laughing: ) and thus close it too.
Since it was the last blocking bug for us, I propose to bump the crate version to 1.0.0 to express the fact that it will soon be used in production somewhere :stuck_out_tongue_winking_eye:
A closed ring with only 2 points was crashing libgeos
the ring: [p1, p2, p1] is not valid for geos (and it thus crashes without any nice explanation).
We use the same approach as shapely a quite used geos python wrapper and
LinearRing
Since it was the last blocking bug for us, I propose to bump the crate version to
1.0.0
to express the fact that it will soon be used in production somewhere :stuck_out_tongue_winking_eye: