Page 1 of 1

problem when extracting filtered information

Posted: Mon Jul 05, 2021 6:41 am
by Sergio
I am trying to extract the points from the classification but I cannot export the LAS, to see if the point cloud has been classified correctly. My goal is to extract the categories ranging from 2 to 6.
C:\Users\IGEAR7>
cd C:\Program Files\CloudCompare
CloudCompare –O W:\SergioR\cloud\1.las -SET_ACTIVE_SF 9
CloudCompare –O W:\SergioR\cloud\1.las -FILTER_SF 2 6
CloudCompare –O W:\SergioR\cloud\1.las -C_EXPORT_FMT LAS

Re: problem when extracting filtered information

Posted: Tue Jul 06, 2021 3:46 pm
by daniel
So you have to add all the options in the same call:
CloudCompare –O W:\SergioR\cloud\1.las -SET_ACTIVE_SF 9 -C_EXPORT_FMT LAS -FILTER_SF 2 6

And I put -C_EXPORT_FMT before calling -FILTER_SF so as to make sure the automatically saved cloud will have the LAS format (otherwise you can disable the automatic save, and explicitly ask CC to save the file with a custom name, etc.)