georust / wkt

Rust read/write support for well-known text (WKT)
https://crates.io/crates/wkt
Apache License 2.0
51 stars 25 forks source link

MultiPoint should handle mix of EMPTY and non Empty points #111

Open michaelkirk opened 1 year ago

michaelkirk commented 1 year ago

e.g. This currently crashes:

let mp = Wkt::from_str(MULTIPOINT(1.0 2.0, EMPTY)).unwrap()

Error is:

called `Result::unwrap()` on an `Err` value: "Expected a number for the X coordinate"