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