[OpenLayers-Users] (no subject)

bradleyspencer brad at cubewerx.com.au
Wed Aug 29 05:24:34 EDT 2007


Yves,

Yes to all your questions. At least when I access a CubeWerx WMS service.

Cheers,

Brad

-----Original Message-----
From: Yves Jacolin [mailto:yjacolin at free.fr]
Sent: Wednesday, 29 August 2007 6:00 PM
To: users at openlayers.org
Subject: Re: [OpenLayers-Users] (no subject)

Hi list,

Sorry to use a post from another person but I checked the source code
from the link below, and I have some question about it.

Does OL could use SLD service for rendering a WMS layer?

Does it allow me to render a WMS layer with different Opacity (change
opacity on the fly as well) for "non base layer"?

regards,

Y.
bradleyspencer wrote:
> Sorry all, programmer error. The opacity in the SLD file is coming through
> OK if I use png as the image format. I was using gif which I believe was
the
> issue.
>
> See http://www.cubewerx.com.au/sldtest.html
>
> I will make a small tester in future :)
>
> Cheers,
>
> -----Original Message-----
> From: Christopher Schmidt [mailto:crschmidt at metacarta.com]
> Sent: Wednesday, 29 August 2007 1:24 PM
> To: bradleyspencer
> Cc: openlayers users
> Subject: Re: [OpenLayers-Users] (no subject)
>
> 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
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users

_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users




More information about the Users mailing list