Lasboundary feature requests.

39 views
Skip to first unread message

Nicolas Cadieux

unread,
Jul 10, 2016, 9:00:20 AM7/10/16
to Lastools

Hi Martin,

It appears that lasboundary does not create a polygon when there is only a single point in a file (and this makes sense).  This can happens when we change the tile size.

It would be a nice feature to be able to create a small bounding box around a single point when this happens.  Perhaps a -single_point_BB switch or something...

Cheers!

Nicolas

Martin Isenburg

unread,
Jul 22, 2016, 8:07:06 AM7/22/16
to LAStools - efficient command line tools for LIDAR processing
Hello Nicolas,

assuming you only need a "coarse" bounding box try the following. First run lasindex to create a LAX file containing a spatial indexing quadtree with sufficient granularity for your purposes:

D:\LAStools\bin>lasindex -i L2-1-Oldman-S1-C1_r.laz -tile_size 50
D:\LAStools\bin>lasindex -i L2-1-Oldman-S1-C1_r.laz -tile_size 10
D:\LAStools\bin>lasindex -i L2-1-Oldman-S1-C1_r.laz -tile_size 25

and then run lasboundary with the '-use_lax' option. You should then also get a little "box" around those isolated points that has the side-length of whatever granularity you have chosen. For many purposes this may be in general the "preferred" way of generating boundary polygons (note: only works *per file* not when '-merged' is used).

D:\LAStools\bin>llasboundary -i L2-1-Oldman-S1-C1_r.laz -gui
D:\LAStools\bin>llasboundary -i L2-1-Oldman-S1-C1_r.laz -use_lax -oshp

Regards,

Martin

lasboundary_use_lax.png
Reply all
Reply to author
Forward
0 new messages