BjornNyberg / Geometric-Attributes-Toolbox

The Geometric Attributes toolbox is a set of QGIS tools designed for the geometric attribute and shape characterization of modern depositional elements
GNU General Public License v3.0
77 stars 9 forks source link

Plug don't generate layer in output #3

Closed bellanz80 closed 5 years ago

bellanz80 commented 5 years ago

Hi, I installed the plug. At the beginning I get a window that is locked. I installed the Networkx plug separately but nothing changed. 66

Successively, I restarted the computer, and the plug seems to boot, but when using the congo test data, the layers that are generated are empty 67 Thank's for your help! Luca

BjornNyberg commented 5 years ago

Hi Luca,

Networkx should be installed by default for QGIS 3.x. However, some important requirement is that you have installed SAGA GIS, the output is saved as a .shp file and the Congo River dataset is in the World Equal Area Cylindrical projection. This should now be explicitly stated in a later updated version. Have you attempted to reinstall the plugin?

Otherwise there might be errors that are not reported. Try locating your plugin folder https://gis.stackexchange.com/questions/274311/qgis-3-plugin-folder-location and edit the Centerlines.py file - change lines 251 and 252 to read...

#continue
feedback.reportError(QCoreApplication.translate('Error','%s'%(e)))

Do you see any changes?

BjornNyberg commented 5 years ago

I have received feedback from others and the issue appears to stem from saving the file in memory. This is because the centerline algorithm uses SAGA GIS to generate voronoi lines which requires a specific file location.

Temporary fix - save the file as a .shp

Feel free the reopen the issue if the problem persists.