Closed Omar-Ruelas closed 4 years ago
I experience a similar issue with QGIS 3.10.1 A Coruña on Linux Mint: "No visible raster layer loaded", despite having a geotiff loaded and selected.
Had the same issue with QGIS 3.10 and DEMto3D "No visible raster layer loaded". Here is my solution. I'm not sure if this is the correct way but it seems to be a python related problem. I'm running QGIS on Ubuntu 18.04 and the plugin DEMto3D.py is located in: ~/.local/share/QGIS/QGIS3/profiles/default/python/plugins/DEMto3D For other OS search for the file DEMto3D.py In line 111 is checked if layer is of type raster "layer.type() == 1" layer type was an integer, "1" meant raster layer, but variable type has obviously changed to type "enum" if layer.type() == 1 and QgsProject.instance().layerTreeRoot().findLayer(layer).isVisible(): I just replaced "layer.type() == 1" with "layer.RasterLayer" so line 111 should look like: if layer.RasterLayer and QgsProject.instance().layerTreeRoot().findLayer(layer).isVisible(): Save the file and start qgis again, it should work now. Not sure if this is just a dirty workaround.
I change the comparation with de "enum" type data.
I have a DTM in format .TIF when i tray to open show up a windows that say: There is none layer upload and visible