Hello Community,
I'm trying to combine
a) Point cloud substraction -->
https://groups.google.com/d/msg/lastools/03HSFPTEhXg/-BO_bgG473YJwith
b) huge las file delete duplicates -->
https://groups.google.com/d/msg/lastools/vIG8V0dDso8/96MXuf8jXM8JMy Problem is, that I received about 25km2 of LIDAR Data which is split in "first pulse", "last pulse ground", "last pulse not ground" files.
On the one hand this is nice, as I don't need to do the classification and I can easily compute a DTM, but in order to compute a spike-free DSM and to classify vegetation and buildings I want to combine them back into one file/many tiles which contain all types of points.
The problem I see is that some points are saved twice, for example when there was only one return the point is in the first pulse file as well as the last pulse file (there are some other examples as well).
When I combine both, I duplicate the point. So I want to remove the extra point but I want to be specific from which file I remove them.
Generally I can do this by processing them as it is described in "point cloud substraction".
Unfortunately I have too many points (more that 160 million) so that whenerver I run lasduplicate with -unique_xyz I get "abnormal program termination".
So I did browse and found the script "huge las file delete duplicates". This is very helpful but I have one important question:
When using lasduplicate only the first appearance survives, so following the point cloud substraction I can decide by the order of inputs from which file/classification (first pulse - 1, last pulse ground - 2, last pulse not ground - 3) the duplicate points were to be removed.
When I follow the workflow "huge las file delete duplicates", I first merge all points, the tile them and now remove the duplicate points. But when I feed the merged file to lasduplicate I cannot determine from which classification(source file) the duplicates are removed by the order of input any longer. Am I right with this assumption?
Questions:
Is there a way to sort the data by classification?
Or I wondered if I then have to pay special attention to the order in which I give the input for lasmerge?
How do I know by what criterion my data is sorted anyway?
Or is there maybe another way to put the files back together properly and keep the classification from the data I received?
Or am I worrying needlessly about these duplicate points? (I think they will have some impact on the computation of DTM and DSM (and classification and normalized DSM).
Do you have any advice or an answer for any of my questions?
I appreciate it.
Petra
P.S.: I'm a student and have been working with lastools and LIDAR data for about two weeks now...not a professional yet. Maybe you can consider that in your answer... :)