1

I have lidar data that is classified as several categories (water, ground etc.).

I need to open this lidar data in some software (it will be great if it would be a open source software) and delete a couple of them to leave only ground category.

Afterwards I have to export this data as *.las format again.

2

You can use the open-source liblas tools for this. The command is,

las2las --keep-classes 2 -i input.las -o output.las

To do many files, use a loop.

for f in *.las;
do
    las2las --keep-classes 2 -i $f -o $(basename $f .las)_gnd.las
done

These commands are, of course, for linux, unix or OSX. liblas is also available for Windows through OSGeo4W.

1

With Fusion, the command line to be used is ClipData together with the switch /class.

It can clip las data according to the return classification and within specific area of interest.

The generic command line would look like this:

ClipData /class:2 InputSpecifier SampleFile [MinX MinY MaxX MaxY]

/class:2 is because the required category is ground, which the standard classification is equal 2.

In this post, I provided a detailed example about how to use the command line ClipData.

1

I used SAGA for the evaluation of my LIDAR data and some easy processing.

Go to tool libraries > Import/export > LAS. When you import the LAS data using Import LAS Files you can select the import of existing classifications (this should be your categories). Unfortunately, my LIDAR data don't have categories so I can't try it myself.

You can select points using tool libraries >Shapes > Point Clouds > Point Cloud Reclassifier / Subset Extractor.

If you want to save this selection as LAS data, you need to export it as LAS file using Export LAS Files (right click > save as saves the file automatically in the SAGA file format .spc).

Here, you'll find a tutorial about processing LIDAR data with SAGA.

0

lasground.exe in the LASTools mentioned above. This can be run from command line prompt very cleanly.

  • Thank you for answer. I will be great if someone give me a clue how to do this in LASTools e.g. QGiS or ARCGiS. Is it option where I can just delete choosen categories or check some of these and export this data as *.las format? – user3770989 Jul 21 '15 at 6:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.