[pdal] writers.las unable to convert scaled value

Rebecca Clarke rebecca at clarke.net.nz
Wed Aug 21 20:03:18 PDT 2019


Kia ora PDAL’ers

I am trying to reproject a LAS file using the following command and JSON
file.

pdal pipeline reproject.json --readers.las.filename=BC36_2316.las
--writers.las.filename=BC36_2316_reprojected.las
--filters.reprojection.out_srs="+init=epsg:4167
+geoidgrids='moturiki-1953-to-nzvd2016-conversion.gtx'"


{
    "pipeline" :
    [
        {
            "type":"readers.las",
            "filename":"#"
        },
        {
            "type":"filters.reprojection",
            "in_srs":"EPSG:4167",
            "out_srs":"EPSG:4167"
        },
        {
            "type":"writers.las",
            "filename":"#",
            "a_srs":"EPSG:4167",
            "forward":"header",
            "scale_x":"0.01",
            "scale_y":"0.01",
            "scale_z":"0.01"
        }
    ]
}


I'm getting this error and no amount of googling has helped me find a
solution.


PDAL: writers.las: Unable to convert scaled value (-Infinity) to int32 for
dimension 'Z' when writing LAS/LAZ file ...

Any help would be much appreciated.

Rebecca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20190822/0f5f5769/attachment.html>


More information about the pdal mailing list