[OpenLayers-Users] using SLD with more than once
<sld:LineSymbolizer>
Ivan Grcic
ivan.grcic at geofoto.hr
Thu Dec 4 09:20:37 EST 2008
Little more info would help...are you talking about WMS layer? that
you're serving trough GeoServer or similar? or its about WFS, vector
layeR?
On Thu, Dec 4, 2008 at 3:12 PM, Ignacio Talavera
<ignacio.talavera at gmail.com> wrote:
> Hi, I'm trying to highlight a FeatureCollection by applying a SLD
> FeatureTypeSytle.
> So I wirte an SLD file with two <sld:LineSymbolizer> elements
> <sld:LineSymbolizer>
> <sld:Stroke>
> <sld:CssParameter name="stroke">
> <ogc:Literal>yellow</ogc:Literal>
> </sld:CssParameter>
> <sld:CssParameter name="stroke-width">
> <ogc:Literal>6</ogc:Literal>
> </sld:CssParameter>
> <sld:CssParameter name="stroke-opacity">
> <ogc:Literal>0.65</ogc:Literal>
> </sld:CssParameter>
> </sld:Stroke>
> </sld:LineSymbolizer>
> <sld:LineSymbolizer>
> <sld:Stroke>
> <sld:CssParameter name="stroke">
> <ogc:Literal>blue</ogc:Literal>
> </sld:CssParameter>
> <sld:CssParameter name="stroke-width">
> <ogc:Literal>4</ogc:Literal>
> </sld:CssParameter>
> <sld:CssParameter name="stroke-dasharray">
> <ogc:Literal>5 8</ogc:Literal>
> </sld:CssParameter>
> </sld:Stroke>
> </sld:LineSymbolizer>
> but when OL draw the features its apply the last LineSymbolizer. Any idea?
>
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>
--
Ivan Grcic
More information about the Users
mailing list