[pdal] Reprojection help

Rebecca Clarke rebecca at clarke.net.nz
Tue Oct 8 19:17:23 PDT 2019


Hi fellow PDAL'ers

So after my post last week about OSGeo4W I reverted to Conda and I'm no
longer getting the results I was getting in OSGeo4W. I would love some help
troubleshooting as I feel like I'm overlooking something but not sure what.

I am doing a reprojection on a las file. When I run this command in the
pdal version i have in OSGeo4W a file is created and the Z values have been
correctly reprojected. When I run the exact same command in the conda
environment, I get a file with data in it, but there has been no
change/shift to the Z value.

OSGeo4W pdal version is 1.8.0
Conda pdal version is 2.0.1

This is the command:

pdal pipeline "C:/Rebecca/las/pipeline.json"
--readers.las.filename="C:/Rebecca/las/BD38_5k_0201.las"
--writers.las.filename="C:/Rebecca/las/BD38_5k_0201_NZVD2016.las"
--filters.reprojection.out_srs="+init=EPSG:2193
+geoidgrids=C:/Rebecca/las/moturiki-1953-to-nzvd2016-conversion.gtx"

This is the contents of pipeline.json:

{
    "pipeline" :
    [
        {
            "type":"readers.las",
            "filename":"#"
        },
        {
            "type":"filters.reprojection",
            "in_srs":"EPSG:2193",
            "out_srs":"EPSG:2193"
        },
        {
            "type":"writers.las",
            "filename":"#",
            "a_srs":"EPSG:2193",
            "forward":"all"
        }
    ]
}


These are the packages which I installed in the conda environment after
creation: pdal, python-pdal, gdal

Would love any help.

Thanks in advance.

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


More information about the pdal mailing list