*.las *.laz *.txt - batch processing for LAStools

2,187 views
Skip to first unread message

Martin Isenburg

unread,
May 23, 2011, 7:30:11 PM5/23/11
to LAStools - efficient command line tools for LIDAR processing
hello,

as of today most LAStools are able to batch process multiple LIDAR
files or entire folders worth of LAS, LAZ, or ASCII data. here a few
examples.

want to compress an entire folder of LAS files?
laszip *.las

want to uncompress a lot of LAZ?
laszip swath1*.laz swath2*.laz swath3*.laz

want to compress a national park of ASCII tiles?
laszip yosemite*.txt -iparse xyztirn

want to spatially index your last three LAS projects
lasindex -i project1\*.las project2\*.las project3\*.las

want to tile and compress counties of LIDAR returns
lastile -i alameda*.las -olaz -size 5000

want to grid mountains of LAS with false elevation color and KMLs
lasgrid -i sierra*.las -false -opng -utm 10T -step 10

want to thin sin cities of LAS
lasthin -lof las_vegas_files.txt -lof reno_files.txt -grid_spacing 1

and so on ... all '-help' options and all README files explain the new
functionality.

cheers,

martin

Alejandro Hinojosa C.

unread,
May 25, 2011, 10:41:38 PM5/25/11
to last...@googlegroups.com
Hey Martin,

You always making it better for all of us.

Thank you,

Alejandro

>--
>You are subscribed to the group
>"LAStools - efficient command line tools for LIDAR processing"
>You can download LAStools at
>http://www.cs.unc.edu/~isenburg/lastools/
>You can visit the LAStools group at
>http://groups.google.com/group/lastools/


---------------------------------------------------
Alejandro Hinojosa Corona
Depto. Geologia
Division de Ciencias de la Tierra, CICESE
www.cicese.mx
Carretera Ensenada-Tijuana No. 3918
Zona Playitas
Ensenada, Baja California CP 22800
México
Tel. (646) 175-0500 (ext 26045)
Fax. (646) 175-0557

nathanste...@gmail.com

unread,
Mar 13, 2015, 8:41:56 PM3/13/15
to last...@googlegroups.com
Martin how do I batch tile an entire folder of .las files?

Albert Godfrind

unread,
Mar 14, 2015, 6:16:33 AM3/14/15
to last...@googlegroups.com
Besides the powerful ability of all las tools to operate on multiple files, remember you can also use shell scripts to process batches of files in an orderly way. 

Windows' scripting ability is poor but you can still write loops that process one file after the other. Linux's is of course much more powerful. But if you insist on using Windows, then look for the Cygwin environment that gives you a command interface similar to that if Linux including a fully functional bash shell with all scripting capabilities. (See https://www.cygwin.com)

Albert
--
Albert Godfrind
+33 6 09 97 27 23
Sent from my iPhone

Evon Silvia

unread,
Mar 16, 2015, 7:25:56 PM3/16/15
to last...@googlegroups.com
Just use wildcard characters like "*.las" and set the output directory using -odir. For example:
las2las -i c:/myfolder/*.las -odir c:/myoutput/
I strongly recommend reading the readme files thoroughly prior to posting on this forum. Most people are too nice to say RTFM, but making an effort to do so will improve your ability to help yourself.

Evon
Reply all
Reply to author
Forward
0 new messages