jblindsay / whitebox-tools

An advanced geospatial data analysis platform
https://www.whiteboxgeo.com/
MIT License
967 stars 161 forks source link

Vector Stream Network Analysis argument mismatch in documentation #410

Open brownag opened 6 months ago

brownag commented 6 months ago

While rebuilding whitebox R package I noticed that there is a mismatch in the function definition vs. the documentation for the vector_stream_network_analysis tool.

https://github.com/jblindsay/whitebox-tools/blob/161cb56ce8e2417bc2d66c4c253d643167c0a6da/whitebox_tools.py#L10655-L10672

It appears that the manual has been updated to reflect that dem and cutting_height are no longer used, but the parameters are still passed to the tool function:

https://github.com/jblindsay/whitebox-tools/commit/8068c98054983e4828b90f13d557b4b53a9e16dc#diff-d8908e52c22b4d560d071d8aefa862434a48304843a38b2b25b58d8f5c9cfb73