[Liblas-devel] piping lasmerge to las2las

Peter Tittmann pwtittmann at ucdavis.edu
Tue Aug 28 17:18:18 PDT 2012


Hi Liblas-ers, 

I have several .las tiles which, depending upon the analysis region of interest (i.e on the boundary between two tiles) may need to be merged and then clipped. Ideally, id like to pipe the output of lasmerge to las2las with the --extent flag. An example from the lasmerge --help indicates stout as an option. However it seems to just create a file called 'stdout':

lasmerge -i ~/Data/Lidar201104/LAS/ALL_POINTS/PC_025.las -i ~/Data/Lidar201104/LAS/ALL_POINTS/PC_026.las --stdout 

adds a file called 'stout' to the working directory

Further, las2las doesn't seem to recognized the --stdin flag, so I'm worried that this is not an option. 

lasmerge -i ~/Data/Lidar201104/LAS/ALL_POINTS/PC_025.las -i ~/Data/Lidar201104/LAS/ALL_POINTS/PC_026.las --stdout | las2las --stdin -e 471400.920313 5014482.90021 471436.91534 5014518.90834 -o ../plot_las/110102.las

-- 
Peter Tittmann, Ph.D.
Postdoctoral researcher
Energy Institute
Institute for Transportation Studies
UC Davis

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/liblas-devel/attachments/20120828/0ca55314/attachment.html>


More information about the Liblas-devel mailing list