[Geoserver-devel] [jira] (GEOS-6746) Default gray fill generated even when external graphic provided

Jody Garnett created an issue

GeoServer / BugGEOS-6746

Default gray fill generated even when external graphic provided

Issue Type:

BugBug

Affects Versions:

2.6.0

Assignee:

Andrea Aime

Created:

31/Oct/14 2:01 PM

Priority:

MajorMajor

Reporter:

Jody Garnett

When parsing SLD the default gray fill is provided, even when the SLD includes an external graphic (and thus does not need the default).

<?xml version="1.0" encoding="ISO-8859-1"?>
<StyledLayerDescriptor version="1.0.0" 
		xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd" 
		xmlns="http://www.opengis.net/sld" 
		xmlns:ogc="http://www.opengis.net/ogc" 
		xmlns:xlink="http://www.w3.org/1999/xlink" 
		xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<NamedLayer>
		<Name>Example</Name>
		<UserStyle>	  
   <FeatureTypeStyle>
     <Rule>
       <PolygonSymbolizer>
         <Fill>
           <GraphicFill>
             <Graphic>
               <Mark>
                 <WellKnownName>square</WellKnownName>
                 <Stroke>
                   <CssParameter name="stroke">#990099</CssParameter>
                   <CssParameter name="stroke-width">1</CssParameter>
                 </Stroke>
               </Mark>
               <Size>16</Size>
             </Graphic>
           </GraphicFill>
         </Fill>
       </PolygonSymbolizer>
     </Rule>
   </FeatureTypeStyle>
          
		</UserStyle>
	</NamedLayer>
</StyledLayerDescriptor>

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

Atlassian logo