Tag Info

New answers tagged


You can use zoom based styling in order to make layers (actually, the geometries inside them) appear or disappear depending on the zoom. This lesson about zoom based styling explains in detail the trick, but basically in each your independent layers you can do: #table{ marker-fill-opacity: 0.9; marker-line-color: #FFF; marker-line-width: 0; ...


If you have your layer for example as: layer = iface.activeLayer() You should get legend: legend = iface.legendInterface() Then you can check layers visibility (it returns bool): legend.isLayerVisible(layer) Or toggle visibility: # off legend.setLayerVisible(layer, False) # on legend.setLayerVisible(layer, True)


If you have access to 3D Analyst, there is a tool called Line of Sight from which you can directly create a Profile Graph that indicates which sections are visible and not from the observer points. See Creating a profile graph from line-of-sight results help file for details. Note the graphic output options are limited and may not allow you exactly ...

Top 50 recent answers are included