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

Error while reading LAS files which do not respect LAS specifications #3

Closed Jean-Romain closed 7 years ago

Jean-Romain commented 7 years ago

This is a bug reported by a user via email

When reading some files:

Error: ERROR: '%s' after %u of %u points

After investigations, the error occurred because the files does not respect LAS specifications. Because I modified the source code of LASlib to make it working on R, LASlib is less compliant with files which does not respect strictly the LAS standard. This problem can be solved checking lasreader_las.cpp L1311.