-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
I have a process which creates some polygons, and some of them are invalid and weird. But this library is unable to deal with them.
With this test:
#[test]
fn infinite_bad_geom() {
let orig = fixture_multi_polygon("orig.geojson");
let bad = fixture_multi_polygon("bad.geojson");
orig.union(&bad);
}
And these files:
bad.geojson.gz
orig.geojson.gz
You get this following stack overflow:
thread 'infinite::infinite_bad_geom' has overflowed its stack
fatal runtime error: stack overflow
error: process didn't exit successfully: `/home/rory/code/rust/rust-geo-booleanop/target/debug/deps/geo_booleanop_tests-53da8e6c52baad74 'infinite::infinite_bad_geom' --nocapture` (signal: 6, SIGABRT: process abort signal)
Metadata
Metadata
Assignees
Labels
No labels