r-lidar / rlas

R package to read and write las and laz files used to store LiDAR data
https://cran.r-project.org/package=rlas
GNU General Public License v3.0
34 stars 14 forks source link

Las validation #47

Closed cyril06 closed 4 years ago

cyril06 commented 4 years ago

Hi,

When performing a lascheck on a point cloud with point format set to 7, we have this

error: "Invalid file: the data contains a 'RGB' field but point data format is not set to 2, 3 or 8". 

But in the official specification a point format of 7 can have RGB fields.

Regards

Jean-Romain commented 4 years ago

Fixed in rlas 1.3.7. Thank you for reporting. Please tell me if everything is fine. This bug may be seen at several places including lascheck, writeLAS, readLAS but not only I guess.