how to use "lastile" with the new LAS 1.4 point types

34 views
Skip to first unread message

Martin Isenburg

unread,
May 26, 2015, 6:31:14 AM5/26/15
to LAStools - efficient command line tools for LIDAR processing
Hello.

I recently got an email asking:

"Am I correct that lastile does not currently handle LAS 1.4? When I attempt to tile LAS 1.4 flight lines the lastile application fails."

 

And the two screen-shots below were attached.

Currenly lastile can only handle the new point types (i.e. point types 6 to 10) if 

(a) the input is LAZ containing "LAS 1.4 compatible mode" compressed LAS. Then the output can be either again "compatible mode" LAZ or "compatible mode" LAS.
 
(b) the input *and* the output are uncompressed LAS.

Hence, replace '-o tile.laz' with '-o tile.las' and '-olaz' with '-olas' and it should work. Please note that the option '-apply_file_source_ID' does not make any sense here because the input file does not have the 'source ID' populated as you can see on the left hand side in the GUI where a summary of the LAS header is displayed.

The reason that "on-the-fly" compression of LAS 1.4 files is not supported yet by all LAStools is that we wanted to make sure that the "LAS 1.4 compatible mode" for the new LAS 1.4 point types works properly before adding it to LASlib. So there are two solutions:

(1) first run laszip.exe on the input LAS file and create a "compatible mode" LAZ file. Then all LAStools can handle compressed content of the new point types.
(2) work only with LAS files (as both input and output) and (optionally) perform the compression step after the LAS tiles were created

Regards,

Martin @rapidlasso




 

 


 

Reply all
Reply to author
Forward
0 new messages