qgisred / QGISRed

GNU General Public License v2.0
23 stars 8 forks source link

Unable to retrieve flow arrows after changing the layer symbology #66

Open mcarvajalino opened 2 years ago

mcarvajalino commented 2 years ago

Hi,

I was working with one of my projects and after changing the symbology of my link results layer (wanted thicker lines) I lost the ability of getting the flow arrows from the plugin, i.e. if I click in the results panel "Show Flow directions" I get the following python error:

          File ".../plugins\QGISRed\ui\qgisred_results_dock.py", line 374, in setArrowsVisibility
          ss = symbol.symbolLayer(3) # arrow positive flow
         IndexError: 3

Any clue on how can I get my flow arrows back?

neslerel commented 2 years ago

Hi @mcarvajalino,

Link results layer has a specific simbology. It includes 5 classes (depending on range values) and each one is composed by a line and 4 markers. These markers contains the arrows, valves and pumps icons. If you want to change to thicker lines, you only have to change the line type (in each class).

image image

In any case, I note it down as a possible improvement.