Hi,
I am about to process a couple of thousand laz files and, unfortunately have to reclassify for building points.
In the attempt of getting things done I am having difficulties in my Python script.
The reclassification is based on building polygons in a rather big shapefile.
When running lasclip I am getting the following error:
ERROR: cannot realloc point_buffer for 67108864 points.
The code I use to process the files is:
for laz in glob.glob('R:/Path_To/LAZ/*.laz'):
subprocess.call(['C:/.../LAStools/bin/lasclip.exe',
'-i', '{c_laz}'.format(c_laz=laz),
'-poly', 'R:/Path/Buildings/Buil_2016.shp',
'-odir', 'R:/Path_To/LAZ_RECLASS',
'-o', '{out}'.format(out=os.path.basename(laz)),
'-classify', '6',
'-interior'
])
How can I overcome the problem? Is it the shapefile, or the laz file? I assume it is the shapefile, since the number of points in the error message is always the same...
Cheers Thomas