Hi,
I am trying to present some features as dots in my SLD. They work
fine, but I can not change the transparency, but probably I am doing
it wrong. this is what I do:
<PointSymbolizer>
<Graphic>
<Mark>
<WellKnownName>dot</WellKnownName>
<Fill>
<CssParameter name="fill">#666600</CssParameter>
<CssParameter name="fill-opacity">0.5</CssParameter>
</Fill>
</Mark>
<Size>1</Size>
</Graphic>
</PointSymbolizer>
But they don't get transparent!
And by the way, does anybody knows of a book, tutorial or whatever
where the SLD posibilities are described? Specially the CssParameters.
I am right now struggling with the specifications and the XML schema
figuring out what can I use. It is a little bit unfriendly.
Thanks.
Javier.
The problem may be that dot isn't a wellknownname - try circle. I also
think that the graphics itself takes an opacity element which might
override the mark.
Hope that helps
Ian
--
Ian Turton
http://www.geotools.org
http://pennspace.blogspot.com/
On 6/16/06, Javier de la Torre <jatorre@anonymised.com> wrote:
No luck.
I tried with:
<PointSymbolizer>
<Graphic>
<Mark>
<WellKnownName>square</WellKnownName>
<Fill>
<CssParameter name="fill">#CC6600</CssParameter>
</Fill>
</Mark>
<Opacity>0.7</Opacity>
<Size>3</Size>
</Graphic>
</PointSymbolizer>
And still my squares are not transparent...
On 6/16/06, Ian Turton <ijturton@anonymised.com> wrote:
> The problem may be that dot isn't a wellknownname - try circle. I also
> think that the graphics itself takes an opacity element which might
> override the mark.
>
> Hope that helps
>
> Ian
>
> --
>
> Ian Turton
> http://www.geotools.org
> http://pennspace.blogspot.com/
>