Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

LASClip : classify option with extended class ?

50 views
Skip to first unread message

Thomas RISTORCELLI

unread,
Apr 3, 2025, 1:54:51 PMApr 3
to LAStools - efficient tools for LiDAR processing
Hi,

I'm using lasclip with the option "-classify" in order to change the classification of points inside SHP polygons.

Everything works perfectly except I can't use classification values over 31. 

All my LAZ files are 1.4

Is there an option I'm missing somewhere ?

Thanks
Thomas

LAStools - efficient tools for LiDAR processing

unread,
Apr 3, 2025, 2:02:50 PMApr 3
to LAStools - efficient tools for LiDAR processing
Hi Thomas,
lasclip/lasclip64 does only support 31 classes.
As a workaround you can separate using lasclip64, then set the class in the separation to an extended class (-set_extended_classification), and then merge the files using lascopy64.
We will implement an update to this limitation soon so you can do this in one step.

Cheers,

Jochen @rapidlasso

Thomas RISTORCELLI

unread,
Apr 4, 2025, 4:03:40 AMApr 4
to LAStools - efficient tools for LiDAR processing
Hi,

Thanks for the quick answer. 

I implemented a similar workaround with las2las which does not recquire spliiting and merging files but I use a temporary unused class ID :
- Set class with lasclip -classify at a temporary unused class ID
- Use las2las with option -change_extended_classification_from_to in order to switch to the appropriate ID.

That's one of the things I like most about LASTools : there almost always a workaround solution ;-)

An update on lasclip will be nice !

Cheers
Thomas

LAStools - efficient tools for LiDAR processing

unread,
Apr 4, 2025, 4:06:59 AMApr 4
to LAStools - efficient tools for LiDAR processing
Hi Thomas,
this is indeed a much simpler workaround,
thanks for sharing!

Cheers,

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