<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Hello all,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
I am using 'pdal info' to view the metadata for a few laz files. For several of the files, pdal info returns the error: </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<p class="p1" style="margin:0px;font:11px Menlo"><span class="s1 ContentPasted0" style="font-variant-ligatures:no-common-ligatures">PDAL: readers.las: VLR 1(SF/0) size too large -- flows into point data.</span></p>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="ContentPasted2">I believe this may indicate that the header/VLR s longer than is expected, causing the metadata information to be misinterpreted.
Attempting to troubleshoot the issue by having a look at the lasreader source code (<a href="https://github.com/PDAL/PDAL/blob/master/io/LasReader.cpp" id="LPNoLPOWALinkPreview">https://github.com/PDAL/PDAL/blob/master/io/LasReader.cpp</a>), I see the below
code snippet:</span></div>
<div class="_Entity _EType_OWALinkPreview _EId_OWALinkPreview _EReadonly_1"></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="ContentPasted1 elementToProof"> if ((uint64_t)stream->tellg() + vlr.promisedDataSize > d->header.pointOffset)
<div class="ContentPasted1 elementToProof"> throwError("VLR " + std::to_string(i + 1) +</div>
<div class="ContentPasted1 elementToProof"> "(" + vlr.userId + "/" + std::to_string(vlr.recordId) + ") "</div>
"size too large -- flows into point data.");<br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted3">
I interpret this to indicate an underlying issue related to the laz header/VLR, but I am unsure what specifically this means or how to resolve it. The files are also unreadable by QGIS (Error: 'readers.las: Invalid VLR - exceeds specified file range'). <span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">Insight
from anyone who has encountered these errors or has any thoughts as to what specifically they imply about the header/VLR formatting of these laz files would be greatly appreciated. </span><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">Thanks
in advance!</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Cole Speed</div>
<div class="elementToProof">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div><span style="font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: start; color: rgb(32, 33, 36); background-color: rgb(255, 255, 255);">---------------------</span></div>
<div><span style="font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: start; color: rgb(32, 33, 36); background-color: rgb(255, 255, 255);">Cole M. Speed</span></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: start; color: rgb(32, 33, 36); background-color: rgb(255, 255, 255);">
Ph.D. Candidate</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: start; color: rgb(32, 33, 36); background-color: rgb(255, 255, 255);">
<span style="font-family: Arial, Helvetica, sans-serif; font-size: small; color: rgb(32, 33, 36);">Jackson School of Geosciences, University of Texas at Austin</span></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: small; text-align: start; color: rgb(32, 33, 36); background-color: rgb(255, 255, 255);">
<br>
</div>
</div>
</div>
</body>
</html>