[OpenLayers-Users] (no subject)

Christopher Schmidt crschmidt at metacarta.com
Tue Aug 28 23:24:15 EDT 2007


On Wed, Aug 29, 2007 at 01:15:41PM +1000, bradleyspencer wrote:
> When I use OpenLayers and use an external SLD file to render a layer, it
> works just fine with one exception. It ignores any opacity setting for
> individual rules which is supported in OGC?s SLD spec. The only way I have
> been able to set opacity is by setting it inside the list of options when
> creating the layer. This simply overrides any SLD setting and is applied at
> the layer level not rule level.

I'm confused. OpenLayers doesn't have any internal support for SLD --
all the SLD rendering you're talking about is taking place on the sever,
right? 

So, you have an image which is being returned which doesn't respect the
SLD you passed in?

If you can right click on an image, view it, and it is not doing what
you expect -- the bug is in the remote end, on your WMS server.

If you can right click on the image, view it, and it looks correct, and
OpenLayers is then mangling that somehow -- then it's a bug in
OpenLayers. 

Can you explain a bit more about what you mean? A live demo or some code
would be especially elucidating.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list