I've exported shapefiles and SLDs from ArcGIS to deploy them on GeoServer. The client was using field names longer than 10 symbols so they got truncated, I get it. The field upon which the symbology is mainly built turned from SubTypeCode
to SUBTYPECOD
, ok. I fixed the .sld
s, so my rules became
<Rule>
<Name><![CDATA[Cable Duct]]></Name>
<Title><![CDATA[Cable Duct]]></Title>
<ogc:Filter>
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>SUBTYPECOD</ogc:PropertyName>
<ogc:Literal>941</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
<LineSymbolizer>
<Stroke>
<CssParameter name="stroke" >#00ab1a</CssParameter>
<CssParameter name="stroke-width" >1</CssParameter>
<CssParameter name="stroke-opacity" >1</CssParameter>
</Stroke>
</LineSymbolizer>
</Rule>
On the other hand, my data view says
But it simply does not apply, I can clearly see that it's falling back to the default symbolizer that is in the end of the .sld
. Did someone ever had something like that?