fill opacity in SLD

Yewondwossen Assefa yassefa at DMSOLUTIONS.CA
Mon Nov 12 09:15:33 EST 2007


Jacolin Yves wrote:
> Hi,
> 
> I am trying to set up a fill-opacity via an SLD url for a polygonal layer. I 
> thought succeed to realize this last week but I failed to do it after 
> changing some code in my application. I read this bug (4 years old): 
> http://trac.osgeo.org/mapserver/ticket/1155 and think it is impossible to do 
> it.
> 
> My question: is it possible to change the opacity of a layer using an SLD url?
> 
SLD 1.0 does not support the opacity parameter at a layer level except 
for the raster symbolizer. SLD supports opacity setting at "CLASS" level 
but MapServer does not have the capacity for now to specify opacity per 
class/style.

> I am afraid to had dream last week :(
> 
> Y.


-- 
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------



More information about the mapserver-users mailing list