Hello Andrew,
wow ... that is quite a work-around. It is a lot easier than that. Here an example how to do this using a '-filtered_transform' that has been mentioned in a few prior discussions:
:: first we create a file with colors
las2las -i ..\data\fusa.laz -set_point_type 3 -o fusaRGB.laz
:: then we make one filtered transform that colors the ground points blue-ish
las2las -i fusaRGB.laz ^
-keep_class 2 ^
-filtered_transform ^
-set_RGB 50 255 255 ^
-odix _2 -olaz
lasview -i fusaRGB_2.laz
:: then we make one filtered transform that colors the building points green-ish
las2las -i fusaRGB_2.laz ^
-keep_class 6 ^
-filtered_transform ^
-set_RGB 200 200 25 ^
-odix _6 -olaz
lasview -i fusaRGB_2_6.laz
:: then we make one filtered transform that colors the veggie points pink-ish
las2las -i fusaRGB_2_6.laz ^
-keep_class 5 ^
-filtered_transform ^
-set_RGB 250 25 125 ^
-odix _5 -olaz
lasview -i fusaRGB_2_6_5.laz
Now that is not very convenient if you have many different colors. In the next email (when I come back from surfing (-;) I will show you how to do this way more efficiently with LASlayers (*). And I will also implement a new transform called '-set_RGB_of_class' that only changes the RGB values of a certain class as this would seem like a common thing to do.
Regards,
Martin @rapidlasso