[pdal] writers.las unable to convert scaled value

adam steer adam.d.steer at gmail.com
Wed Aug 21 20:50:44 PDT 2019


Hi Rebecca

What are the min and max Z values for your laz file? does it have a sneaky
infinite value in there?

…and is your geoid grid introducing any divide-by-zeros to create
un-handleable values?

Cheers

Adam


On Thu, 22 Aug 2019 at 13:03, Rebecca Clarke <rebecca at clarke.net.nz> wrote:

> 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
>
>
> _______________________________________________
> pdal mailing list
> pdal at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/pdal



-- 
Dr. Adam Steer
http://spatialised.net
https://www.researchgate.net/profile/Adam_Steer
http://au.linkedin.com/in/adamsteer
http://orcid.org/0000-0003-0046-7236
+61 427 091 712 ::  @adamdsteer

Suits are bad for business: http://www.spatialised.net/business-penguins/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20190822/039e31ae/attachment.html>


More information about the pdal mailing list