[pdal] LAS to PCD conversion by preserving original coordinates?
Andrew Bell
andrew.bell.ia at gmail.com
Wed Jul 17 08:16:00 PDT 2019
Hi Shukhrat,
1) Many PCL algorithms are now implemented natively in PDAL, eliminating
the need to convert to PCD.
2) PDAL shifts points to use the minimum x/y/z of the original pointcloud
as the origin. This is done because the standard point types in PCL are
single-precision, while PDAL stores point data in double-precision.
Without such a shift, significant and important precision would be lost for
some applications. You can use the offset in the PCD writer to control
this behavior (provide the X/Y/Z minimum as the offset to get back to the
original locations). You can also provide a scale factor to apply if
desired.
3) PCD has no concept of spatial reference.
On Tue, Jul 16, 2019 at 10:32 PM Shukhrat <shukhrat811 at gmail.com> wrote:
> Hello,
>
> I need to convert files from LAS format into PCD format. I tried PDAL
> <https://gis.stackexchange.com/questions/250714/converting-las-to-pcd-file-using-pdal>,
> but it doesn't preserve original coordinates in output file.
>
> pdal translate input.las output.pcd
>
> It changes coordinates from original (EPSG:28355) into some local
> coordinates. Can someone help me to work around so I could get original
> coordinates in output PCD file?
> Thanks,
>
> Best regards,
> Shukhrat
> _______________________________________________
> pdal mailing list
> pdal at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/pdal
--
Andrew Bell
andrew.bell.ia at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20190717/e46f03ff/attachment.html>
More information about the pdal
mailing list