Sunday, 14 August 2016

qgis - Using Viewshed Graphical Modeler



enter image description here


I am trying to create a viewshed using the graphical modeler, the first part involves creating the viewpoints which works fine, however when I create the viewshed I get the following error. Also, when I do the exact same process outside of graphical modeler it works fine.


Traceback (most recent call last):



File "C:/Users/Ben/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ViewshedAnalysis\algorithms\viewshed_raster.py", line 245, in processAlgorithm interpolate = precision > 0) File "C:/Users/Ben/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ViewshedAnalysis\algorithms\modules\visibility.py", line 178, in viewshed_raster data /= distance_matrix #all one line = (data -z - mxcurv) /mx_dist FloatingPointError: divide by zero encountered in true_divide


Error encountered while running Viewshed





No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...