[Liblas-devel] Clipping
Mateusz Loskot
mateusz at loskot.net
Wed Apr 9 12:24:06 EDT 2008
Howard Butler wrote:
>
> 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
Hobu,
That's exactlu what I was looking for. You are right, clipping by Z
value is usually not very useful.
Cheers
--
Mateusz Loskot
http://mateusz.loskot.net
More information about the Liblas-devel
mailing list