Lasclip, can we clip to a buffer/overlaps

136 views
Skip to first unread message

Dean McpHerson

unread,
Nov 9, 2016, 12:43:09 PM11/9/16
to LAStools - efficient tools for LiDAR processing
Hi all,

I have a building I want to clip out
However I can't find an option to add a buffer size around the building,

I want to increase the min.max boundaries to say 10meters around the building, is it possible to add this buffer?

Also, when using lasclip, I notice that if you have a polygon that is covered by two swaths, ie overlap, it creates two of the same files,

It would be awesome to have a way to automatically merge clippings on overlap areas.

Are these options available?

Martin Isenburg

unread,
Nov 9, 2016, 1:29:15 PM11/9/16
to LAStools - efficient command line tools for LIDAR processing
Hello,

I have a building I want to clip out
However I can't find an option to add a buffer size around the building, 

I want to increase the min.max boundaries to say 10meters around the building, is it possible to add this buffer?

That would be a standard GIS vector operation that you apply to the SHP file before clipping. I am sure there is an option in QGIS or SAGA GIS that will perform such an option.
 
Also, when using lasclip, I notice that if you have a polygon that is covered by two swaths, ie overlap, it creates two of the same files,

 
It would be awesome to have a way to automatically merge clippings on overlap areas.

Simply add '-merged' to the command line:

:: one LAZ output file per input LAZ file that overlaps any of the polygons

lasclip -i flightlines/*.laz -poly shape.shp -odir clipped -olaz

:: one single LAZ output file for LAZ files that overlaps any of the polygons

lasclip -i flightlines/*.laz -merged -poly shape.shp -o clipped.laz

:: one LAZ output file per polygon in the shape file

lasclip -i flightlines/*.laz -merged -poly shape.shp -split -odir clipped -o split.laz
 
Regards,

Martin @rapidlasso

a.hofmann

unread,
Nov 10, 2016, 2:42:27 AM11/10/16
to LAStools - efficient tools for LiDAR processing
Hi, we also had this problem and we used the QGIS Suite to fix that. I used the whole state as a shp file, and added a buffer to it with GRASS GIS "v.buffer". That worked quick and easy.
 I also dissolved all the overlapping boundaries (i think the v.buffer does that in the same step as it creates the buffer).

Just a last info ,I tried QGIS, ArcGIS, GRASS GIS and SAGA GIS. The GRASS GIS gave me the fastest and best result when using a huge shape file with a lot of buildings in it!

I hope that this Info can help you!
Reply all
Reply to author
Forward
0 new messages