Hello,
I've been attempting to flag key points using only class 2 and 13 in a data set of las using lasthin.exe but get the error "cannot realloc point_buffer from [x] down to 0 points".
The [x] value obviously changes with each different file where the process fail.
There is another topic here with a similar error in relation to using shp files classify buildings in the las. Martin Isenburg explains that it was errors due to the process hitting the 2GB memory limit of 32bit versions of the software and so smaller subsets of the shp files were used which solved the problems.
https://groups.google.com/forum/#!msg/lastools/msjl37YBxns/SBYTtRp6AwAJ
In an attempt to reduce memory usage I tiled the las data down from 1km tiles to 500m tiles but hasn't appeared to make any difference. The process is failing at random file sizes. It successfully processed files in the +200mb size but fails on others as well as some down as small as +20mb.
The command I'm using is below;
lasthin -lof file_list.8056.txt -ignore_class 0 1 7 9 10 14 16 17 18 -step 10 -adaptive 0.25 -flag_as_keypoint -odir "D:\S - LADS Survey\2017\1630 (PR105466) - NSW Coastal ALB -Recce\NSW_LAS_DELIVERY_INVESTIGATION\01_Final_Merged_Data\Riegl_sensor\jd2017_313\03_RDN2008-TM32_KeyPoints" -odix "_KP" -olas
I could include header info for the files which have failed, but seeing as it isn't affected by file size or point count and all files including the sucessful ones have come from the same source I'm not sure how the header would help.
Any info or hint would be great,
Thanks
Tom