Open frehberg opened 6 months ago
is the code of RegionAssembly crashing due to a bug in the algorithm, or due to bad input parameters? In case of the latter, how to prevent this?
It's crashing due to a bug, and a fix is unlikely in the short term.
hopefully this test https://github.com/georust/geo/pull/1126 can help you to reproduce the issue and fix the code
Occasionally (1:8) I observe a panic condition. I managed to print out the data of RegionAssembly causing the panic, and using this data to create a regression test (see PR)
Code with regresssion test assembling 3668 segments/lines https://github.com/georust/geo/pull/1126
The panic occures in the the check in file
assembly.rs
The execution path leading to this point of the RegionAssembly occures in the context of
bop.sweep()
in the following codeAppreciating any hint why this crash occures and how to avoid the panic crash