Open Robinlovelace opened 2 years ago
test-data.zip And for completeness, in the unlikely event anyone other than me actually wants to try to run this, here's the inputs that fail with this cryptic error message:
thread 'main' panicked at 'no entry found for key', /home/robin/.cargo/git/checkouts/odjitter-2ee039e64a6d7c8d/95ad39e/src/lib.rs:199:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
We should add a better error message at the line where it failed, following similar examples elsewhere
This was the cause of errors that were driving me insane, no need for a fix on the Rust side and it's an edge case that can be seen as an issue with dodgy input data my side. Still wanted to document it here while it's fresh in my head.
Input zone object that failed looked broadly like this:
Note MULTIPOLYGON objects suddenly switch to POLYGON objects. Attached is a .zip of a reproducible example that worked post simply changing the geometry type. test-data.zip