libLAS / libLAS

C++ library and programs for reading and writing ASPRS LAS format with LiDAR data
http://liblas.org
Other
309 stars 158 forks source link

lasmerge #25

Closed rolanddu closed 10 years ago

rolanddu commented 10 years ago

I am attempting to merge multiple las files into one las file using lasmerge from libLAS. After the merge I notice that the point inspection summary has Min X,Y,Z as negative values. However, lasinfo of the source files reports a positive Min X,Y,Z for each. I can provide more details if necessary. The reason this appears to be a problem is that the extent/clip functionality las2las doesn't appear to work with these merged data. Does anyone have a suggestion for me? I am using libLAS installed with OSGeo4w.

Thanks, Roland

rolanddu commented 10 years ago

In the event this helps someone else... I was able to use the libLAS tools in Linux to circumvent these issues.

ysid commented 10 years ago

I am having the same problem with the Windows version of lasmerge. It produces negative values that are all the same for X, Y, and Z. I think these are essentially the minimum values for 32-bit data (-2147483.648/0.001). I can replicate this problem even with one input. I don't have the option to use Linux.

jkopera commented 10 years ago

I'm having the same issue... using liblas's lasmerge, lasinfo returns conflicting Min/Max XYZ values in the header summary vs. the point inspection summary. The header values are correct, but the point inspection shows identical min/max values for XYZ. LasTools and points2grid crash using these merged files.

Unfortunately, I'm a coding neophyte, so my attempts to figure out what the issue is have been for naught.