Hey all,
with great pleasure I use the tool las2dem for student activities and investigations to rasterize results from point cloud comparisons and have them output to me as TIFF. The whole thing is done within an automated process with Python.
I would like to ask if there is an overview of all possible functions of las2dem via the command line. Since some things in the GUI can not be selected manually, what I have however already seen in some YouTube tutorials.
In my example, I would like to rasterize mainly after the deformations in the millimetre range. The histogram of the generated tiff should adjust and stretch automatically (without fixed limits) to the existing minimum and maximum values. However, my attempt so far did not work flawlessly, among other things because the attribute order of the read-in las-file strangely swaps every now and then...
Apropos - the generated TIFF of the actual values cannot be viewed in a standard viewer, because it is only white (I did not succeed in stretching the histogram manually via the usual Python libraries, probably because of the decimal values) - however, the display works without problems via QGIS. The simple Code is:
"subprocess.Popen([las2dem, \
"-i", input_M3C2, \
"-step", "0.001", "-force_precision", "-attribute", "6", \
"-false", "-set_min_max", "-auto", \
"-odir", output_path_tiff, \
"-o", save_tiff_falsecolor])"
Do you possibly have some tips for me on this?
Many thanks and best regards!
Basti