Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Title: Error Running TSP in Whitebox Workflows for QGIS - Unrecognized VectorGeometryType #6

Open
kristenew opened this issue Nov 4, 2024 · 0 comments

Comments

@kristenew
Copy link

Description: I'm encountering an issue when running the Traveling Salesman Problem (TSP) algorithm in Whitebox Workflows for QGIS. The process fails with the following error:

thread '<unnamed>' panicked at 'src/data_structures/shapefile/geometry.rs:686:18: Unrecognized VectorGeometryType: 1701667182 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace Traceback (most recent call last): File "<string>", line 11, in <module> pyo3_runtime.PanicException: Unrecognized VectorGeometryType: 1701667182 Process returned error code 1 Execution completed in 5.02 seconds

And then after execution, I received the following error:
The following layers were not correctly generated: • /private/var/folders/gr/r6n34s0s34bfpb1nxmwk0tnm0000gn/T/processing_wypNdo/3e6a8ef1bfa0463e87b2e955933ac107/fnOutput.gpkg

Additional Notes:

I verified the geometry type of the input layer and ensured it contained only one geometry type (e.g., Points). I also tried re-saving the layer in different formats (e.g., GeoPackage, Shapefile), but the issue persists.
Running the tool through the QGIS Log Messages Panel does not provide any additional insight beyond the error above.
A colleague tried to run the TSP on her computer with different data, and it resulted in a similar error.
Thank you for your assistance, and please let me know if you need any further information or if there are specific troubleshooting steps you recommend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant