Jerry Fast ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5e7a5b84dde7030c4f1680cc
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiNDNmY2M4ZTQwZjA4NDIyN2I0NzA2OWU2NzllNjU4NGIiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10494?atlOrigin=eyJpIjoiNDNmY2M4ZTQwZjA4NDIyN2I0NzA2OWU2NzllNjU4NGIiLCJwIjoiaiJ9
 ) GEOS-10494 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10494?atlOrigin=eyJpIjoiNDNmY2M4ZTQwZjA4NDIyN2I0NzA2OWU2NzllNjU4NGIiLCJwIjoiaiJ9
 ) Unable to use database color in legend ( 
https://osgeo-org.atlassian.net/browse/GEOS-10494?atlOrigin=eyJpIjoiNDNmY2M4ZTQwZjA4NDIyN2I0NzA2OWU2NzllNjU4NGIiLCJwIjoiaiJ9
 )

Issue Type: Bug Affects Versions: 2.20.2 Assignee: Unassigned Created: 
18/May/22 8:37 PM Environment:

I am trying to use a database property in order to generate the legend’s color 
but it doesn’t work. My SLD style contains the following <PolygonSymbolizer> :

     <PolygonSymbolizer>
       <Fill>
         <CssParameter name= "fill" >
           <ogc:PropertyName> color </ogc:PropertyName>
         </CssParameter>
         <CssParameter name= "fill-opacity" >
           <ogc:Literal> 0.7 </ogc:Literal>
         </CssParameter>
       </Fill>
     </PolygonSymbolizer>

The polygon is rendered with the correct color, but the legend does not render 
any colors.

The GET request I am using is like the following:
https://my-geoserver.com/geoserver/esris/wms?REQUEST=GetLegendGraphic&LAYER=esris:floods&VERSION=1.1.1&FORMAT=image/png&WIDTH=60&HEIGHT=30

Priority: Medium Reporter: Jerry Fast ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5e7a5b84dde7030c4f1680cc
 )

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

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

Reply via email to