Issues with VectorStreamNetworkAnalysis

3 views
Skip to first unread message

Jesus Gomez-Velez (Chucho)

unread,
Jul 12, 2024, 5:05:12 PM (12 days ago) Jul 12
to WhiteboxTools
Hello,

I am using WBT v2.4.0 to extract river network attributes in Python. When I use VectorStreamNetworkAnalysis, it shows the error "NameError: name 'dem' is not defined." I checked the dem name and file, and everything is correct. Has anyone encountered the same error? This function works with WBT v2.3.0

Whitebox Geospatial Inc

unread,
Jul 12, 2024, 7:08:42 PM (11 days ago) Jul 12
to Jesus Gomez-Velez (Chucho), WhiteboxTools

Hi Jesus,

 

It looks like the documentation is out of date for this tool. The requirement for a DEM to run this tool has been removed in the most recent version. The input parameters for this tool are found here:

 

https://github.com/jblindsay/whitebox-tools/blob/master/whitebox-plugins/src/vector_stream_network_analysis/vector_stream_network_analysis.json

 

Regards,

 

John

 

--
You received this message because you are subscribed to the Google Groups "WhiteboxTools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to whiteboxtool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/whiteboxtools/07b03e12-e4d2-45fc-866b-9eaebf4e55dan%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages