georust / geos

Rust bindings for GEOS
https://docs.rs/geos/
MIT License
122 stars 42 forks source link

Fix CoordSeq bug #9

Closed antoine-de closed 6 years ago

antoine-de commented 6 years ago

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

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: