Qgis - modeler and LAStools problem

193 views
Skip to first unread message

Fausto Ugozzoli

unread,
Jan 26, 2021, 6:13:07 AM1/26/21
to LAStools - efficient tools for LiDAR processing
Hi, I'm testing this beautiful procedure in the modeler for ITD  Individual Tree Detection   / CHM as found here:

But, while the second part is working properly, the output of the first algorithm (lasground) is not going to the input of the second (lasheight), and so on...

a.png

b.png

Any guess? 

Best regards

Jesse Johnson

unread,
Jan 28, 2021, 5:12:07 PM1/28/21
to LAStools - efficient tools for LiDAR processing
What version of QGIS are you using?  What is the readout in the Log tab when lasheight fails?  Are you running this on a Windows computer?

Fausto Ugozzoli

unread,
Jan 29, 2021, 6:19:26 AM1/29/21
to LAStools - efficient tools for LiDAR processing
Hi Jesse!
  • QGIS: 3.16.0-Hannover (dark background colors)
  • log attached: the first algorithm (lasground) creates a temp otuput, (or a real output if I choose to save a file) then in the second alg. , the input appears empty in the log (I think..), so nothing in output...in the log you found also the subsequent steps that end with the creation of the CHM.tif (not created).
  • Windows 10 computer. (the LAStools algorithm works perfectly INDIVIDUALLY, also works well the second part of the model with SAGA algorithms and others)
Thank you for your time.
log.txt

Jesse Johnson

unread,
Jan 29, 2021, 1:15:45 PM1/29/21
to LAStools - efficient tools for LiDAR processing
On a quick first look of your log file I would say that the problem is being caused by ITC_detection.model setting the 'spike_free' flag as it tries to execute blast2dem.  If we work through the algorithm step by step we are using las2dem, not blast2dem, and I have not found any examples of using 'spike_free' with the latter.

You can try running the ITC_detection.model with a much smaller laz file and see if you have the same issue, it seems that I read somewhere that las2dem works well with files that have less than 20 million points.

I would be curious to find out if the spike free algorithm can be used with blast2dem, or why it would not be needed while working with larger files.

Martin Isenburg

unread,
Feb 1, 2021, 6:41:54 AM2/1/21
to LAStools - efficient command line tools for LIDAR processing
Hello,

The spike-free algorithm is only implemented in las2dem. It's not trivial  to "stream" it so I doubt there will be an implementation in BLAST unless I take a research sabbatical. However, the original "pit-free" algorithm can be used with blast2dem (assuming you work with an already normalized LiDAR data set).


Regards.

Martin

--
Download LAStools at
http://lastools.org
http://rapidlasso.com
Be social with LAStools at
http://facebook.com/LAStools
http://twitter.com/LAStools
http://linkedin.com/groups/LAStools-4408378
Manage your settings at
http://groups.google.com/group/lastools/subscribe
---
You received this message because you are subscribed to the Google Groups "LAStools - efficient tools for LiDAR processing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lastools+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lastools/eafa695c-3ac0-4fdd-8996-3df1265971d4n%40googlegroups.com.

Jesse Johnson

unread,
Feb 1, 2021, 3:29:03 PM2/1/21
to last...@googlegroups.com
Thanks for the information Martin, the pit-free algorithm will certainly be something I can use going forward.

Cheers,

  Jesse

You received this message because you are subscribed to a topic in the Google Groups "LAStools - efficient tools for LiDAR processing" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lastools/rfF9Z7vzZ1w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to lastools+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lastools/CABSWR-EEPPsnybox3UEAJKkW-td3G9jj7_wJ%3DKtpE%3DfnctuLhQ%40mail.gmail.com.

Jesse Johnson

unread,
Feb 1, 2021, 3:29:05 PM2/1/21
to last...@googlegroups.com
Hi Fausto,

I was able to make contact with someone at AWF that provides the ITC_detection.model you are working with it only works with QGIS 2; besides the blast2dem issue we were seeing, there may be some issues with SAGA in QGIS 3 that require some troubleshooting.  I sure didn't notice problems with SAGA during my initial work through of the model, but after revisiting the project I noticed there may be problems with the seeds,shp file being produced although that may just be a problem on my end, I haven't taken the time to sort through it yet.

Cheers,

  Jesse

--
Download LAStools at
http://lastools.org
http://rapidlasso.com
Be social with LAStools at
http://facebook.com/LAStools
http://twitter.com/LAStools
http://linkedin.com/groups/LAStools-4408378
Manage your settings at
http://groups.google.com/group/lastools/subscribe
---
You received this message because you are subscribed to a topic in the Google Groups "LAStools - efficient tools for LiDAR processing" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lastools/rfF9Z7vzZ1w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to lastools+u...@googlegroups.com.

Fausto Ugozzoli

unread,
Feb 2, 2021, 9:18:59 AM2/2/21
to LAStools - efficient tools for LiDAR processing
Hi Jesse,

thamkyou for the usefull info, all clear about spike-free and Blast..
About SAGA and seeds.shp creation, in the second part of the pipeline, (also the creation of segments.shp with polygonize at the end) all is working properly for me.
The problem I encounter is between first (lasground) and second (lasheight) step, I get output only from first step, therefore the pipeline is interrupted. I'll try with your previous suggestions (also testing with qgis 2) and I'll give an update ASAP!

Have a nice day,
Fausto

Reply all
Reply to author
Forward
0 new messages