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

LidarThinHighDensity throw "panicked at 'index out of bounds:'" depending on the resolution #408

Open
gis-maker opened this issue May 19, 2024 · 0 comments

Comments

@gis-maker
Copy link

I'm trying to thin a lidar data taken from a DJI L1 camera. The tool LidarThinHighDensity can throw an error depending on the resolution I set. For example, 0.5 meters works fine but when I set it to 0.4, the tool stops working. The data I'm trying to thin:
Average point density: 615.644 pts / m2
Nominal point spacing: 0.0403 m

LidarThin tool works with this data as expected.



reading input LiDAR file...
Performing analysis...
thread 'main' panicked at 'index out of bounds: the len is 67 but the index is 67', whitebox-tools-app\src\tools\lidar_analysis\lidar_thin_high_density.rs:316:29
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

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