[Geoserver-devel] [JIRA] (GEOS-9806) GetLegendGraphic for "one rule" styles

pietro.dorio created an issue

GeoServer / ImprovementGEOS-9806

GetLegendGraphic for “one rule” styles

Issue Type:

ImprovementImprovement

Assignee:

Unassigned

Created:

24/Nov/20 1:06 PM

Priority:

MediumMedium

Reporter:

pietro.dorio

If a style is configured with only one rule, the standard GetLegendGraphic request return the image, but not the Title.

To get also the title, the workaround is to concatenate the parameter: &LEGEND_OPTIONS=forceLabels:on

Please consider that in many client (also QGIS) is not possible to configure the parameter of the getlegendgraphic options.

I think that the answer of the GetLegendGraphic must always be the same for the end client, regardless of whether the style is defined with one or N rules.

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100151-sha1:a1486db)

Atlassian logo