[pdal] limit reading EPT and writing laz?

Kirk Waters - NOAA Federal kirk.waters at noaa.gov
Wed Jan 5 04:43:21 PST 2022


PDAL folks,
I have a system set up that normally works well at reading EPT data I need
and writing it out as laz for further processing. However, I've run across
a case where pdal consistently dies with a return code of 137 after
creating a laz file just under 3 Gb. That seems a bit too big to be related
to a 32-bit limit and too small to be too many points for LAS 1.2 format.
The pipeline file I'm using is attached. Are there other things I should be
looking for that might be causing the failure? I'm running pdal version
2.3.0 from a conda install.

Also, pdal info on the partial file doesn't give much, just:
PDAL: readers.las: Invalid VLR - exceeds specified file range.
while lasinfo on that file gives:
ERROR: header size is 0 but should be at least 227
So, I expect the header isn't getting filled in until the end, which never
happens.

Thanks for any suggestions.

Kirk Waters, PhD                     | NOAA Office for Coastal Management
Applied Sciences Program      | 2234 South Hobson Ave
843-740-1227 (empty office)   | Charleston, SC 29405
843-324-2203 (cell during COVID)
coast.noaa.gov/digitalcoast
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20220105/c80129c8/attachment.html>
-------------- next part --------------
{"pipeline":[

{
 "filename": "https://s3-us-west-2.amazonaws.com/usgs-lidar-public/USGS_LPC_NC_Phase4_Mecklenburg_2016_LAS_2019/ept.json", 
		"type":"readers.ept", 
		"bounds": "([-9010302.38952617, -8998317.06177951], [4200504.61811429, 4210372.89515954])" 
}, 
{ "type": "filters.range", "limits":"Classification[1:1],Classification[2:2],Classification[3:3],Classification[4:4],Classification[5:5],Classification[6:6],Classification[9:9],Classification[10:10],Classification[13:13],Classification[14:14]" },
{ "type":"filters.reprojection", "out_srs":"EPSG:6318", "in_srs":"EPSG:3857" },
{ "type":"writers.las", "scale_x":"0.0000001", "scale_y":"0.0000001", 
		"offset_x":"auto",
        "offset_y":"auto",
        "offset_z":"auto",
        "filename":"extractept0.laz" }
]}


More information about the pdal mailing list