geonode icon indicating copy to clipboard operation
geonode copied to clipboard

Style editor: Allow user to set dynamic rotation value

Open Inogeo opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. In the style editor, To set a symbol rotation based dynamic value (depending on a field value), the SLD code has to be edited.

The visual editor only allow the user to set a static value: image

Describe the solution you'd like To make the style editor more comprehensive for users,

Add the capacity for the user to set the rotation either by two ways:

  • Static: Refer to the feature already implemented (see my pictures aboves)
  • Dynamic: The user

Prior the user set the rotation value, he has to select the mode, as show on the sketch below

  • No rotation (default value)
  • Static rotation
  • Dynamic rotation

On the mode is selected, different field appears depending on the user's choice (Dynamic rotation: on the left of the picture below ; Static rotation: on the right of the picture below):

image

Inside the SLD, the tag <ogc:PropertyName>BEARING</ogc:PropertyName> the value of BEARING being the name of the layer field used to set the rotation value.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

Inogeo avatar Aug 19 '22 07:08 Inogeo