pietro.dorio ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5fbcdb924a09640069187b05
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiNGZmN2FkNzQwYWM5NGI3M2EyMmJlN2JiOGM0MzMzNTIiLCJwIjoiaiJ9
 ) / Improvement ( 
https://osgeo-org.atlassian.net/browse/GEOS-9806?atlOrigin=eyJpIjoiNGZmN2FkNzQwYWM5NGI3M2EyMmJlN2JiOGM0MzMzNTIiLCJwIjoiaiJ9
 ) GEOS-9806 ( 
https://osgeo-org.atlassian.net/browse/GEOS-9806?atlOrigin=eyJpIjoiNGZmN2FkNzQwYWM5NGI3M2EyMmJlN2JiOGM0MzMzNTIiLCJwIjoiaiJ9
 ) GetLegendGraphic for "one rule" styles ( 
https://osgeo-org.atlassian.net/browse/GEOS-9806?atlOrigin=eyJpIjoiNGZmN2FkNzQwYWM5NGI3M2EyMmJlN2JiOGM0MzMzNTIiLCJwIjoiaiJ9
 )

Issue Type: Improvement Assignee: Unassigned Created: 24/Nov/20 1:06 PM 
Priority: Medium Reporter: pietro.dorio ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5fbcdb924a09640069187b05
 )

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.

( 
https://osgeo-org.atlassian.net/browse/GEOS-9806#add-comment?atlOrigin=eyJpIjoiNGZmN2FkNzQwYWM5NGI3M2EyMmJlN2JiOGM0MzMzNTIiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-9806#add-comment?atlOrigin=eyJpIjoiNGZmN2FkNzQwYWM5NGI3M2EyMmJlN2JiOGM0MzMzNTIiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100151- 
sha1:a1486db )
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to