[Liblas-devel] Clipping

Howard Butler hobu.inc at gmail.com
Wed Apr 9 11:59:19 EDT 2008


On Apr 9, 2008, at 10:32 AM, Mateusz Loskot wrote:
> Hi,
>
> Do we have a tool that can clip LAS file to given extent of XYZ pairs?
> I imagine to have something like:
>
> las2las --min X1 Y1 Z1 --max X2 Y2 Z2 --in file.las --out clipped.las

Yep, but it only clips on x and y, not z.  I'm not sure you would want  
to clip z's out, but that could be easily added.

http://liblas.org/browser/trunk/apps/las2las.c#L55

las2las -i file.las --clip X1 Y1 X2 Y2 --out clipped.las

Howard



More information about the Liblas-devel mailing list