Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Error while executing Lasview

83 views
Skip to first unread message

Giovanni Francesco Ricci

unread,
Apr 3, 2025, 4:58:17 AMApr 3
to LAStools - efficient tools for LiDAR processing
Hello i'm trying to open a point cloud file (.las) with lasview and i get this error.

anybody has some suggestion?

QGIS code revision: 386f2583

Qt version: 5.15.13

Python version: 3.12.8

GDAL version: 3.10.1

GEOS version: 3.13.0-CAPI-1.19.0

PROJ version: Rel. 9.5.1, December 1st, 2024

PDAL version: 2.8.3 (git-version: 56e405)

Algorithm started at: 2025-04-03T10:54:38

Algorithm 'lasview (file)' starting…

Input parameters:

{ 'ADDITIONAL_OPTIONS' : '', 'COLORING' : 0, 'GUI' : False, 'INPUT_LASLAZ' : 'C:\\Users\\Proprietario\\Documents\\SatPoint\\Studio\\2025-04-02_15-25-52 Copy\\colorized.las', 'POINTS' : 5000000, 'SIZE' : 0, 'VERBOSE' : False }


LAStools command line

C:\LAStools\bin\lasview -i "C:\Users\Proprietario\Documents\SatPoint\Studio\2025-04-02_15-25-52 Copy\colorized.las" -points 5000000

LAStools console output

Traceback (most recent call last):
File "C:\Users/Proprietario/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\LAStools\lastools\core\visualization_colorization\lasview.py", line 81, in processAlgorithm
LastoolsUtils.run_lastools(commands, feedback)
File "C:\Users/Proprietario/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\LAStools\lastools\core\utils\utils.py", line 75, in run_lastools
feedback.pushConsoleInfo(output.decode("utf-8"))
^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8a in position 30: invalid start byte

Execution failed after 0.06 seconds


Loading resulting layers

Algorithm 'lasview (file)' finished

LAStools - efficient tools for LiDAR processing

unread,
Apr 3, 2025, 5:03:28 AMApr 3
to LAStools - efficient tools for LiDAR processing
Hi 
Giovanni,
just remove the "space" char out of your input path and it should work.
Try something more simple like
   "C:\Users\Proprietario\Documents\SatPoint\Studio\2025-04-02_15-25-52_Copy\colorized.las"
or best
   "C:\data\colorized.las"
as input file.
If you just want to view a file you also can try laslook as viewer for LAS/LAZ data, which is able to process path with spaces or utf8 chars in it.

Cheers,

Jochen @rapidlasso

Giovanni Francesco Ricci

unread,
Apr 3, 2025, 1:54:44 PMApr 3
to LAStools - efficient tools for LiDAR processing
i still get this Loading resulting layers

Algorithm 'lasview (file)' finished

QGIS version: 3.34.15-Prizren

QGIS code revision: 386f2583

Qt version: 5.15.13

Python version: 3.12.8

GDAL version: 3.10.1

GEOS version: 3.13.0-CAPI-1.19.0

PROJ version: Rel. 9.5.1, December 1st, 2024

PDAL version: 2.8.3 (git-version: 56e405)

Algorithm started at: 2025-04-03T12:34:24

Algorithm 'lasview (file)' starting…

Input parameters:

{ 'ADDITIONAL_OPTIONS' : '', 'COLORING' : 0, 'GUI' : False, 'INPUT_LASLAZ' : 'C:\\Data\\colorized.las', 'POINTS' : 5000000, 'SIZE' : 0, 'VERBOSE' : False }


LAStools command line

C:\LAStools\bin\lasview -i "C:\Data\colorized.las" -points 5000000

LAStools console output

Traceback (most recent call last):
File "C:\Users/Proprietario/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\LAStools\lastools\core\visualization_colorization\lasview.py", line 81, in processAlgorithm
LastoolsUtils.run_lastools(commands, feedback)
File "C:\Users/Proprietario/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\LAStools\lastools\core\utils\utils.py", line 75, in run_lastools
feedback.pushConsoleInfo(output.decode("utf-8"))
^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8a in position 30: invalid start byte

Execution failed after 0.05 seconds


Loading resulting layers

Algorithm 'lasview (file)' finished


I want to visualyze and elaborate

LAStools - efficient tools for LiDAR processing

unread,
Apr 4, 2025, 7:56:15 AMApr 4
to LAStools - efficient tools for LiDAR processing
Hi Giovanni,
you are at the right track. Your input file looks good now. If it is still not running it is most likely that your whole installation is wrong.
Please check the settings of the plugin - your settings should look somehow like this:
qgis_propper_installation_setup.png
The LAStools and the script folder should be in a path without fancy chars.

If all is set up correct you should see a log like this:
qgis_lasview_run.png
If you can not get it running please also check if you have the latest version of the plugin and compare the version above with your versions.

Cheers,

Jochen @rapidlasso
Reply all
Reply to author
Forward
0 new messages