Using python to batch process lasclip - LAStools/QGIS

المشرف العام

Administrator
طاقم الإدارة
I am trying to use the python console to batch quite a few processes from lastools. I'm having trouble with the arguments to lasclip.

clipped_las = processing.runalg('lidartools:lasclip', True, flight_las, clipper, False, 0, 0, outputname)is complaining:

Wrong number of parameters . . . OPERATION(what to do with points) 0 - clip 1 - classify​
But I told it to "0" (in the 5th argument) i.e., clip.

I guess I don't understand what ParameterSelection, the type (?) associated with OPERATION is. I don't want to make this a tool with parameters, just want to run it once with the parameters specified in the code.

What ought to go in that 5th spot?



أكثر...
 
أعلى