Hello folks,
I am looking for folks with huge LAZ collections who would like to add spatial indexing to their queries via the tiny LAX files ... but without the tiny LAX files. The (undocumented) new option to '-append' the '-lax' files when running laszip.exe still needs to be tested before unleasing it on all your data.
You may have used the "free" and open source LGPL lasindex before like shown below:
D:\lastools\bin>copy ..\data\fusa.laz fusa.laz
D:\lastools\bin>lasindex -i fusa.laz
D:\lastools\bin>dir fusa.*
04/05/2014 10:38 AM 1,524 fusa.lax
09/20/2011 05:17 PM 1,078,962 fusa.laz
2 File(s) 1,080,486 bytes
Now you can have lasindex append the LAX file to all of your existing LAZ content *in-place* by adding the '-append' option. However, before running this on your master archive some extensive testing is needed to make sure this new integration of LAZ and LAX is bug-free. Use a copy of your data and try
D:\lastools\bin>del fusa.lax
D:\lastools\bin>lasindex -i fusa.laz -append
D:\lastools\bin>dir fusa.*
04/05/2014 10:43 AM 1,080,546 fusa.laz
The new LAZ file should have exactly the same size as the old LAZ and LAX files combined plus the 60 bytes for the EVLR header. And a lasdiff should (currently) not be able to notice the difference between the LAZ without LAX and the LAZ with LAX.
D:\lastools\bin>lasdiff -i fusa.laz -i ..\data\fusa.laz
checking 'fusa.laz' against '..\data\fusa.laz'
headers are identical.
raw points are identical.
files are identical. both have 277573 points. took 0.592 secs.
Now we need large-scale testing. NOAA. WSL, USGS. OpenTopography, USACE, ... I am looking at you. (-:
Martin @rapidlasso
--