[pdal] Point cloud XYZ offset when using readers & filters

Bradley Chambers brad.chambers at gmail.com
Wed May 24 11:32:01 PDT 2017


Paul,

You are correct, the PCD writer does subtract an offset by default. You
should be able to suppress this behavior by setting "subtract_minimum" to
false in the PCD writer options.

Brad

On Wed, May 24, 2017 at 1:54 PM Paul Sung-Pyo Park <ppark31 at gmail.com>
wrote:

> Hello,
>
> I am relatively new to using PDAL. I currently have a PCD file that I have
> translated from LAZ using CloudCompare that aligns with it's LAZ
> counterpart. However, when I use the PDAL pipeline to do that same
> translation using:
>
> """
>     {
>         "pipeline": [
>         {
>             "type": "readers.las",
>             "filename": "input.las"
>         },
>         {
>             "type": "writers.pcd",
>             "filename": "output.pcd"
>         }
>         ]
>     } """
>
> the output PCD seems to have a XYZ offset. I have also tried using the PCD
> file translated using CloudCompare to run a decimation filter in PDAL to
> see if the offset is only created during translating between file formats.
> However, I also have to offset occur when the decimated output PCD is
> created. Might there be something I am overlooking during my processing?
>
> Thank You
>
> --
> *Paul*
> _______________________________________________
> pdal mailing list
> pdal at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/pdal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20170524/364c6aa9/attachment.html>


More information about the pdal mailing list