Hi Apostolis,
Sorry about my confusing suggestion. The GraphicFill tag starts at line 20 and
closes at line 29. So my reference to "after the GraphicFill tag" actually
meant that you should put the CssParameter tags from line 18 and line 19 after
closing tag </GraphicFill> that's now at line 29. The rule should then become:
<PolygonSymbolizer>
<Fill>
<GraphicFill>
<Graphic>
<Mark>
<WellKnownName>shape://slash</WellKnownName>
<Stroke>
<CssParameter name="stroke" >#fa3411</CssParameter>
</Stroke>
</Mark>
</Graphic>
</GraphicFill>
<CssParameter name="fill" >#fa3411</CssParameter>
<CssParameter name="fill-opacity" >1</CssParameter>
</Fill>
...
</PolygonSymbolizer>
Hope that helps!
If Arc2Earth does not quite give you the SLDs you expected, you may also want
to investigate the GeoCatBridge plugin as an option to design your maps in
ArcGIS and have the plugin generate SLDs on the fly. More details available
from http://www.geocat.net/bridge.
Kind regards,
Edward
> Date: Tue, 14 Aug 2012 02:13:59 -0700
> From: [email protected]
> To: [email protected]
> Subject: Re: [Geoserver-users] Validation SLD errors: help
>
> Hi Edward
>
> I followed your instructions, but the only thing that happened is the change
> of message error:
> org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was
> found starting with element 'CssParameter'. One of
> '{"http://www.opengis.net/sld":Graphic}' is expected.
>
>
> According with the SLD specification (version 1.0), i think that the
> structure of SLD schema is correct.
> I can't understand where is the mistake, although Geoserver seems to work
> well because the published layer use the selected sld file.
>
> Thanks for your reply!
> Apostolis
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/Validation-SLD-errors-help-tp4994985p4995050.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users