Hi,
I am trying to set the fill colour of a polygon to be transrarent so that
the raster layer below shows through. My layer is a shape file (outline of
county borders) which sits on top of Ordanance survey raster maps.
Unfortunately at the moment if i change the css opacity value all it does is
change to white... any suggestions?
Thanks
Paul
--
View this message in context: http://old.nabble.com/Setting-fill-color-of-polygon-to-transaparent-(Not-White)-tp29147969p29147969.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.
Paul111 ha scritto:
Hi,
I am trying to set the fill colour of a polygon to be transrarent so that
the raster layer below shows through. My layer is a shape file (outline of
county borders) which sits on top of Ordanance survey raster maps.
Unfortunately at the moment if i change the css opacity value all it does is
change to white... any suggestions?
Odd. Are you requesting the image in a format like JPEG, that does not
support transparency? Are you adding &transparent=true to your requests?
Normally all that needs to be done is not to specify a Fill at all
in the SLD.
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Hi,
Thanks for your reply. The image is a png, however i am not adding
&transparent=true to the request no. Could you tell me where i am supposed
to add that?
Thanks
Paul
Andrea Aime-4 wrote:
Odd. Are you requesting the image in a format like JPEG, that does not
support transparency? Are you adding &transparent=true to your requests?
Normally all that needs to be done is not to specify a Fill at all
in the SLD.
Cheers
Andrea
--
View this message in context: http://old.nabble.com/Setting-fill-color-of-polygon-to-transaparent-(Not-White)-tp29147969p29162607.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.
Hi,
I've done it! thanks anyway. I added transparent: true to the options when i
create my new layer
thanks!
Paul
Paul111 wrote:
Hi,
Thanks for your reply. The image is a png, however i am not adding
&transparent=true to the request no. Could you tell me where i am supposed
to add that?
Thanks
Paul
Andrea Aime-4 wrote:
Odd. Are you requesting the image in a format like JPEG, that does not
support transparency? Are you adding &transparent=true to your requests?
Normally all that needs to be done is not to specify a Fill at all
in the SLD.
Cheers
Andrea
--
View this message in context: http://old.nabble.com/Setting-fill-color-of-polygon-to-transaparent-(Not-White)-tp29147969p29162664.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.