franzpc / arcgeek

Book and GIS exercises
GNU General Public License v3.0
6 stars 6 forks source link

Watershed Basin Delineation #1

Open geoscoplw opened 4 months ago

geoscoplw commented 4 months ago

Hi Franzpc,

I have an issue using the "Watershed Basin Delineation" extension: when using a DEM with 1-meter precision in CRS 2154, the algorithm stops and shows this error:

"Results: {'areas': 'C:\Users\Loris\AppData\Local\Temp\processing_iZBWUm\0c1b7bb2766a4ac5a69410baf653c69a\areas.xml', 'direction': 'C:\Users\Loris\AppData\Local\Temp\processing_iZBWUm\92b84c1a53b64f1ca336b0c3e00cce9b\direction.xml', 'output': 'C:\Users\Loris\AppData\Local\Temp\processing_iZBWUm\4211ad333f7449bebb6362782d05dd50\output.xml'}

Unable to execute algorithm Could not load source layer for elevation: C:\Users\Loris\AppData\Local\Temp\processing_iZBWUm\4211ad333f7449bebb6362782d05dd50\output.xml not found Unable to execute algorithm Could not load source layer for elevation: C:\Users\Loris\AppData\Local\Temp\processing_iZBWUm\4211ad333f7449bebb6362782d05dd50\output.xml not found Execution failed after 7.20 seconds

Loading resulting layers Algorithm 'Watershed Basin Delineation' finished"

I am using QGIS version 3.36 Maidenhead. Do you have any workaround for this situation?

Thanks a lot

franzpc commented 4 months ago

Thanks for the report I will check what happens, try in QGIS 3.38, although in your version should not give problems. Sometimes when the DEM is very heavy I usually increase the cell size, it also depends on the computer resources. Since this tool simply automates the processes that can be done with Grass, I am still working on how to solve the memory problems.