I have been investigating the use of LASzip for compressing las 1.4 files (pdrf 6-10) to laz files. I am using the version of las tools that had were most recently updated 26 May 2015. I have been running I have several questions/concerns that I would like to bring up with you regarding compression of las 1.4 files (pdrf 6-10). I noticed that currently LASzip compresses these files using what is referred to as "compatibility mode". When I ran LASzip on my las 1.4 files, the resulting laz files were 1.2 with a pdrf of 1. These particular las files that I compressed to laz and contained EVLRs that held my spatial referencing information, so I lost this information in the compression. I noticed on the the forum that a file cannot have EVLRs after I ran my test.
A second question I have is regarding the difference between classification codes between the LAS 1.2/1.3 standard and LAS 1.4 standards. If someone is using a laz file that was compressed from 1.4 that had more than 32 classes (perhaps using the new topo-bathy classification codes?) how would this be treated in the compressed laz file? Would they be retained? Or would those classifications disappear and those points be put in class 0? Or is there another way the compression handles this? Another example are points in class 10, 17, and 18 (have different definitions between LAS 1.2/1.3 and LAS 1.4 for these classification codes). I am guessing that for example number two the classification scheme would be retained and the user would need to understand that this was a compressed las 1.4 file.
My third question is related to return numbers and number of returns. If I have a sensor that utilized more than 8 returns per pulse and this information was populated in my las 1.4 file, how would this be handled in the compressed las 1.2 file? Would the return number (greater than 5) be retained in the point data record and just not reported in the header? Or would I lose some of those returns?
Finally, is there still a caveat on the amount of point records (last I heard it was around 4 billion) that can be in a las 1.4 file for it to successfully be compressed?
Is there going to be any development on LASzip that retains the full 1.4 format when moving from las to laz? Or is the intention to keep LASzip in the compatibility mode and convert to a previous version of the LAS standard when compressing to laz?
I look forward to your response. Thank you for your time and consideration regarding this matter.
--
Download LAStools at
http://lastools.org
http://rapidlasso.com
Be social with LAStools at
http://facebook.com/LAStools
http://twitter.com/LAStools
http://linkedin.com/groups/LAStools-4408378
Manage your settings at
http://groups.google.com/group/lastools/subscribe
On Tue, Oct 20, 2015 at 7:02 AM, Kim Mantey <mante...@gmail.com> wrote:I have been investigating the use of LASzip for compressing las 1.4 files (pdrf 6-10) to laz files. I am using the version of las tools that had were most recently updated 26 May 2015. I have been running I have several questions/concerns that I would like to bring up with you regarding compression of las 1.4 files (pdrf 6-10). I noticed that currently LASzip compresses these files using what is referred to as "compatibility mode". When I ran LASzip on my las 1.4 files, the resulting laz files were 1.2 with a pdrf of 1. These particular las files that I compressed to laz and contained EVLRs that held my spatial referencing information, so I lost this information in the compression. I noticed on the the forum that a file cannot have EVLRs after I ran my test.I know of no way to move spatial referencing information from an EVLR to a VLR in LAStools. The EVLRs of the input data are completely lost. You can, however, redefine the spatial referencing information into a new VLR using the widely documented LAStools commands.
Hello Kim,
In the coming days I will make it either an optional mode or the default option in the "LAS 1.4 compatibility mode" of LASzip such that all projection information stored in an ELVR is sutomatically moved to a VLRs so they are not lost.
Would it be a desirable default behaviour for LAStools / LASlib / LASzip to "auto-promote" geo-referenzing information stored in an EVLR in the sense thst it is automatically moved to a VLR whenever a file translation happens?
EVLRs were added for large payloads and easier manipulation of files in-place and what i suggest above does not confluct with either goal ...
Regards,
Martin