--
Download LAStools at
http://lastools.org
http://rapidlasso.com
Be social with LAStools at
http://facebook.com/LAStools
http://twitter.com/LAStools
http://linkedin.com/groups/LAStools-4408378
Manage your settings at
http://groups.google.com/group/lastools/subscribe
Hi,
I am on travel in remote tropical islands. Will do so in a few days (11th to 15th) when i get to better internet.
Kirk wrote:
"According to lasinfo, the header says:
number of points by return: 10983036 1532893 197689 0 0
while counting up the points returns:
overview over number of returns of given pulse: 9317011 2715479 648942 32186 0 0 0
Notice that there are only returns 1, 2, and 3 according to the header, but after looking through the points, lasinfo says there are also return 4 points."
Wrong. There are points that are specified to be from a shot that resulted in 4 returns. Whether all 4 returns are stored to the file is a different issue. Maybe someone ran '-drop_return 4' on the file.
"The total number of points is the same though. If I then try to just grab the return 4 points with:
las2las -keep_return 4
I get: WARNING: written 0 points but expected 12713618 points
So, there really are no return 4 points. At this point, I'm not trusting the report on the return numbers after scanning the file, but I can't imagine what sort of bug would give these results."
That is to be expected. From all the reports that i have read in this thread it seems to me there is a fundamental confusion about "number of returns of given pulse". Anyone remember the Terrasolid .bin files that are converted to .las ...? Look what they did to those two numbers to code the 4 options: single, first of many, last of many, intermediate into the two numbers: "return count" and "number of returns of given pulse" ...
Please ... no more wrong lasinfo bug reports while i am exploring the blue lagoons of a Philippino archipelago ...
(-;
Martin @rapidlasso
--
Hi,
Evon wrote:
"I found the data file you mentioned and ran the LAZ through my own software. I can confirm that the return number counts are correctly encoded in the header, so it must be a lasinfo issue."
This is not problem. The "return number counts" in the LAS header are a histogram of the "return number" field of all points in the file. The reported (non-)issue is with the "number of returns of given pulse" that is not reported in the header.
These "number of returns of given pulse" numbers are not as rigorously defined as the "return number" in my experience (because they do not really have to be "correct" to encode the desired information ...
Martin
- Arthur James Balfour