Hi,
I am writing a batch file to run lascanopy, do you have any suggestion about what will be more efficient of these three options for a large dataset
-keep_class 2 3 4 5
-drop_class 1 6 7 9 12 14
Or when I run lasmerge use only the four desired classes (I need to run lasmerge any way because the tiles for class 2 are in another folder)
Thanks
Susana Gonzalez
Forest Engineer, LiDAR Science
--
Download LAStools at
http://lastools.org
http://rapidlasso.com
Be social with LAStools at
http://facebook.com/LAStools
http://twitter.com/LAStools
http://linkedin.com/groups/LAStools-4408378
Manage your settings at
http://groups.google.com/group/lastools/subscribe
Hi Nick,
Thank you to point about the conditions, this will be helpful to do another decisions.
I thought about doing the -merged setting as well so after your comment, I will integrate it when I run lasheight to normalise the data before to run lascanopy
I just tried
lasheight.exe -i otherclasses\*.laz class2\*.laz -merged -replace_z -keep_class 2 3 4 5
It's working good, I will go through this way so I don't need to do lasmerge.
Thank you so much
Susana
Hello,
Currently the -drop_class and the -keep_class filters only support point classes 0 through 31. They are both implemented using a bit-mask so that the performance of either is identical.
Instead of merging all tiles into one file (which will fail when you merge too many hundred square kilometer) it may be more efficient to operate in a tile-based manner.
lastile -i strips/*.laz ^
-tile_size 2000 -buffer 20 ^
-odir tiles_raw -o mordor.laz
lasground -i tiles_raw/*.laz ^
-fine ^
-replace_z ^
-odir tiles_ground -olaz ^
-cores 8
lascanopy -i tiles_ground/*.laz ^
-step 10 ^
-kur -avg -cov -p 50 95 ^
-use_tile_bb ^
-odir tiles_grids -obil ^
-cores 8
If needed you can merge all of the BIL rasters with GDAL or lasgrid into one large raster as a final step. We will go over such multi-core processing pipelines in the forestry LAStools workshops at ACRS 2014 (Myanmar), ForestSAT (Italy) and ForestTECH (Rotorua/Melbourne). More details on all upcoming events are here: http://rapidlasso.com/events
For even more efficiency because less I/O ... try the new LASlayers prototype that will be "officially" introduced at my ELMF 2014 talk on Dec 10 in Amsterdam.
Regards,
Martin @rapidlasso
--
http://rapidlasso.com - fast tools to metric your LiDARs