8

I have a layer with symbology that includes Geometry Generators. It would appear that because of these the symbol is not visible in the layers panel.

Is there a way to show the up most symbol (green square) in the panel?

enter image description here

Following the answer by @NettaB

As suggested I tried locking the marker but the after clicking okay the symbol flashes up for a short period then disappears.

enter image description here

Geometry generator expressions

For the line:

make_line(make_point($x, $y), make_point("xcoord", "ycoord"))

For the marker:

 make_point("xcoord","ycoord")
8
  • 1
    Which QGIS version are you using? Seems to work fine for me on 3.6.2. Maybe dependant on the layer type? Is it a shapefile or geopackage?
    – Joseph
    Jun 28, 2019 at 13:31
  • I am using QGIS 3.4.8 and it is a shapefile.
    – AWGIS
    Jun 28, 2019 at 13:39
  • 1
    @AWGIS can you check if the 'simple marker' layer is locked?
    – NettaB
    Jun 28, 2019 at 19:38
  • Can you post an image of what is actually showing where you'd like the green square to show? I assume you're trying to map a point feature here. If what is currently being mapped is one of the geometry generator symbols (e.g. the circle labelled 'Marker'), you should be able to edit the symbology to match the green square that you want as the marker. Jul 1, 2019 at 2:05
  • 2
    @AWGIS - Sounds similar to this issue. What happens if you change from Single symbol to Rule-based?
    – Joseph
    Jul 2, 2019 at 11:05

1 Answer 1

1

I'm not sure this will help, can you please see if the upmost symbol (green square) is locked in the symbology definition?
enter image description here

Edit: I've tried it and the symbol is showing by the layer's name
enter image description here

8
  • Thanks for your answer - I tried locking as you suggested and the symbol flashes up for a couple of seconds then proceeds by disappearing again. I am starting to think it could be a bug
    – AWGIS
    Jul 2, 2019 at 8:47
  • I have added a GIF showing me trying your suggestion.
    – AWGIS
    Jul 2, 2019 at 8:54
  • @AWGIS what version of qgis are you using?
    – NettaB
    Jul 2, 2019 at 9:58
  • I am using version 3.4.8
    – AWGIS
    Jul 2, 2019 at 10:15
  • @AWGIS I'll try v3.6 later. Can you also check if after close & reopen of QGIS you can see the symbol?
    – NettaB
    Jul 2, 2019 at 10:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.