geonode icon indicating copy to clipboard operation
geonode copied to clipboard

associated styles not visible in Map Layer Settings -> Style Settings

Open saxas13 opened this issue 1 year ago • 0 comments

Expected Behavior

If a layer has associated styles (additional to it's default style), they are selectable from the layer settings -> Style settings in the drop down menu and can be selected and applied to the layer in a map.

Actual Behavior

The associated styles do not show anywhere and cannot be applied to the respective layer.

Steps to Reproduce the Problem

  1. Upload a layer
  2. Go to Geoserver and create a new style
  3. Add the style as associated style to the newly uploaded layer
  4. Add new layer to map, open layer settings, open style settings --> only the default style is in the dropdown list

Specifications

  • GeoNode version: 4.1.3
  • Installation type (vanilla, geonode-project): geonode-project
  • Installation method (manual, docker): docker
  • Platform: Ubuntu 20.04
  • Additional details: In Version 3 there was a button to refresh the statistics, which got the new styles for the layer and it was possible to use the style in the preview page of the layer (and download the styles) as well as in the maps by changing from default to alternative --> Currently a dataset with different styles needs to get published again to have a different symbolization (i.e. Administrative Regions without label and with label)

saxas13 avatar Oct 12 '23 06:10 saxas13