jvdkwast / qgisrepository

Repository for QGIS Resources Sharing plugin
17 stars 4 forks source link

Stream and Catchment Delineation Script Error #2

Open kalaking opened 8 months ago

kalaking commented 8 months ago

System Info: QGIS version: 3.34.2-Prizren QGIS code revision: 7d199797fc Qt version: 5.15.3 Python version: 3.9.5 GDAL version: 3.8.2 GEOS version: 3.12.1-CAPI-1.18.1 PROJ version: Rel. 9.3.1, December 1st, 2023 PDAL version: 2.6.0 (git-version: 3fced5)

Everytime i run the script it throws the same error. Don't know how to resolve it, please help.

https://github.com/jvdkwast/qgisrepository/assets/71944544/ee6906a1-12cd-4c6e-9d5a-439a751680bd error log.txt

jvdkwast commented 8 months ago

I couldn't reproduce your problem with the same QGIS version. However, I see that in my case gdal_polygonize saves a temporary vector layer as .gpkg and in your case as .xtf. Can you check what happens if you change the default output vector layer extension from xtf to gpkg? You can do this by clicking the option icon (tool) in the Processing Toolbox panel and then expand the General section. In my case it is also xtf, but doesn't affect my results for some reason. image

jvdkwast commented 8 months ago

@kalaking Did you try my suggestion above?

kalaking commented 8 months ago

@jvdkwast hey sorry for late response! i will try it and report back to you ASAP!