TransWikia.com

pdal truncating values when writing ply

Geographic Information Systems Asked by crEO on April 23, 2021

When using pdal to either translate to ply file or split a ply file in smaller chunks, it appears to be truncating values so I end up with point clouds with stripping. This does not occur with other formats – but I need .ply in particular.

E.g. when splitting up a bigger file….

 pdal split --capacity 1000000 in.ply out.ply 

… I end up with the result below for the subsets. Are there parameters that may stop this from happening? (See the below pic)

point cloud with missing values/strips

One Answer

This is actually a precision problem where PDAL trim automatically some decimals. You need to control that with this option : --writers.ply.precision=6f (it say to the ply writers to have 6 decimals)

Correct answer by NanBlanc on April 23, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP