[pdal] pdal ground error

Andrew Bell andrew.bell.ia at gmail.com
Fri Jan 9 11:38:56 PST 2015


On Fri, Jan 9, 2015 at 1:31 PM, Matthew Hanson <
mhanson at appliedgeosolutions.com> wrote:

> I've got a small 20MB test file, single return.   lasinfo:
> #################################################
>
>   Number of Points by Return
> ---------------------------------------------------------
> (1) 1069983
>
>   Number of Returns by Pulse
> ---------------------------------------------------------
> (1) 1069983
>
>   Point Classifications
> ---------------------------------------------------------
> 1042754 Created, never classified (0)
> 27229 Unclassified (1)
>   -------------------------------------------------------
>   0 withheld
>   0 keypoint
>   0 synthetic
> #################################################
>
> However, when I run pdal ground I get this error:
> *****
> .test.las: Found invalid value of '0' for point's return number.
> test.las: Found invalid value of '0' for point's number of returns.
> .............................................test.las: Found invalid value
> of '28' for point's return number.
> test.las: Found invalid value of '224' for point's number of returns.
>

These message indicate invalid values in the data.  They don't meet the LAS
specification, though LAS tools (lasinfo) accepts them.

Caught PDAL exception: Unable to fetch data and convert as requested:
> ScanAngleRank:float(-4.72698e+19) -> signed char
>

I'll look into this.  It's saying that it's trying to convert the scan
angle rank to a char data type, but it doesn't fit.  I'm not sure how the
scan angle rank could have gotten so strange in the first place, regardless
of the input data.

-- 
Andrew Bell
andrew.bell.ia at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20150109/65523108/attachment.html>


More information about the pdal mailing list