Lidar Shift tool

30 views
Skip to first unread message

Spencer Roddan

unread,
May 4, 2022, 3:40:25 PM5/4/22
to WhiteboxTools
Hello All,

I'm trying to run the Lidar shift tool with python and get this error message:
thread 'main' panicked at 'Unrecognized tool name LidarShift.', whitebox-tools-app\src\main.rs:72:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I updated to the latest version:
Successfully installed whitebox-2.1.2

I noticed this is the first version with this tool.  Has it been tested on various platforms yet?  I've used WBT in python scripts several times now and not had this error. Please let me know if there is anything I can do to get this to run on my machine.  BTW. I first tried to run in the QGIS batch processor but also had an error.

Thanks,
Spencer

Whitebox Geospatial

unread,
May 5, 2022, 12:23:21 PM5/5/22
to WhiteboxTools

Hi Spencer,

Can you provide a bit more information? What operating system are you using? What Whitebox frontend (QGIS, R, Python, ArcGIS, Nim) are you using? What was the input file? Can you please show a screenshot of the full error?

Regards,

John

Spencer Roddan

unread,
May 5, 2022, 2:21:01 PM5/5/22
to WhiteboxTools
Hi John,

I'm using python and my IDE is Spyder in a conda environment. However, I installed the latest WBT python module with PIP into the environment.  I'm on a windows machine, Windows 10 pro.
Intel(R) Xeon(R) CPU           X5650  @ 2.67GHz   2.66 GHz  (2 processors)

The input file is LAS 1.4 and was only 900 Mb.

Here is the full error msg - can't paste a screenshot for some reason.

runfile('L:/R_and_D/Lidar_WBT_XYZ_shift/xyz_shift.py', wdir='L:/R_and_D/Lidar_WBT_XYZ_shift')
.\whitebox_tools.exe --run="LidarShift" --input='L:\R_and_D\Local_intensity_based_noise_filtering\test_data\clip2.las' --output='L:\R_and_D\Local_intensity_based_noise_filtering\test_data\clip2_shift.las' --x_shift=100 --y_shift=100 --z_shift=100


thread 'main' panicked at 'Unrecognized tool name LidarShift.', whitebox-tools-app\src\main.rs:72:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Anything else that might help? I had taken this over from a colleague who was running it through the QGIS plugin and it errored as well. So I volunteered to try it with python.  

Thanks,
Spencer
Reply all
Reply to author
Forward
0 new messages