Karsten D. ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5e4cfaf2924db10e74b8110f
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiYTVkYTU4OWI5ZTg1NDJiNDk1MTBlMzEzZDkyZTY5YWUiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10670?atlOrigin=eyJpIjoiYTVkYTU4OWI5ZTg1NDJiNDk1MTBlMzEzZDkyZTY5YWUiLCJwIjoiaiJ9
 ) GEOS-10670 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10670?atlOrigin=eyJpIjoiYTVkYTU4OWI5ZTg1NDJiNDk1MTBlMzEzZDkyZTY5YWUiLCJwIjoiaiJ9
 ) SLD with one Rule not displaying Name/title in the legend ( 
https://osgeo-org.atlassian.net/browse/GEOS-10670?atlOrigin=eyJpIjoiYTVkYTU4OWI5ZTg1NDJiNDk1MTBlMzEzZDkyZTY5YWUiLCJwIjoiaiJ9
 )

Issue Type: Bug Affects Versions: 2.20.4 Assignee: Unassigned Attachments: 
image-20220922-092750.png Components: styling Created: 22/Sep/22 11:28 AM 
Environment:

Windows Server 2019

Tomcat 9.0.62

Priority: Medium Reporter: Karsten D. ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5e4cfaf2924db10e74b8110f
 )

We are having a problem with styles where there only are one Rule, the Legend 
is not rendered with the Name/Title of the Rule. The capabilities dokument does 
not contain information for the LEGEND_OPTIONS described in the Geoserver 
Documentation, you cannot expect the client to know to set this option if the 
infomation is not avariable via the the capabilities dokument. *Thereby must 
this be an error*.
The expertation is that the Legend is rendered as its is displayed when you are 
creating and reviewing you style in Geoserver, but it simply does not show up 
as expected when you see the added style on the layer and if you request the 
legend from the link given in the capabilities dokument.

An example is below:

The only other way to get around this, is to make an “work around” by adding an 
empty rule, but this can give other problems, like timeouts if you go to a 
large schale, and not setting an MaxScaleDenominator to for example 1.

Best regards
Karsten

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

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#100207- 
sha1:a65942b )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to