PDAL / PDAL

PDAL is Point Data Abstraction Library. GDAL for point cloud data.

Home Page:https://pdal.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PDAL Tile Module reduces precision

weidinger-c opened this issue · comments

Hi,
I want to tile a pointcloud, but the resulting tiles only have a precision of 2 floating-point digits. Is there anything I can do to get the precision of the input pointcloud or at least .3 or .4 floating digits?

Also, the LAS version is set to 1.2, altough the input file was of LAS version 1.4, which can be a problem, if I e.g. have some attributes of type uint64, which is only supported in LAS version 1.4.

Example points in input file:
image

Example points inside one resulting tile:
image

You can pass options to the writer as you wish: pdal tile in.las out#.txt --writers.text.precision=5

@abellgithub sorry, I forgot to mention, that I am tiling las files (the images show the output of las2txt). There is no precision setting in the las writer. Can I pass the settings of the input las file?

All the options work, including forwarding. Note that LAS doesn't really do precision, though you can set the scale factor(s).

Thanks! Setting --writer.las.forward="all" worked