zoran-cuckovic / QGIS-visibility-analysis

Quantum GIS plugin for visibility analysis
GNU General Public License v3.0
73 stars 18 forks source link

Viewshed not working in Processing QGIS 3 #17

Closed ghtmtt closed 6 years ago

ghtmtt commented 6 years ago

Hi,

first, thanks for this plugin and to port it in Processing.

I'm using QGIS 3.3 on a Linux machine and with the algorithm Viewshed I have this error with both memory and shapefile layers:


Traceback (most recent call last):
File "/home/matteo/.local/share/QGIS/QGIS3/profiles/matteo/python/plugins/ViewshedAnalysis/algorithms/viewshed_raster.py", line 173, in processAlgorithm
" ****** \n ERROR! \n Missing fields: \n" + "\n".join(miss))
_core.QgsProcessingException: ****** 
ERROR! 
Missing fields: 
observ_hgt
radius

let me know if I can help in some way! Thanks again

zoran-cuckovic commented 6 years ago

Hi! Do you have the listed missing fields in your shapefile? See here for a tutorial

ghtmtt commented 6 years ago

I see.. missed the tutorial page. Works now, thanks!

Looking for the future enhancements!