Hi all,

we have a layer "layer1" rendered by a css style, consisting of geometries and 
labels. Under certain circumstances another layer "layer2" shall be displayed 
on top of it (containing circular poylgons), hiding the geometries and labels 
"layer2" below.

We are currently accomplishing this through a WMS request like 
"...&LAYERS=layer1,layer2".

This is not working because the labels are always rendered on top, instead of 
being hidden.

I have not yet tried to define a layer group but I suppose it will be the same. 
Furthermore the currenty approach is simpler, so if possible, we would like to 
stay without a group.

I have also tried to tweak the z-index of the labels and geometries, but again 
this has no effect, by intention I suppose.

Does anybody know how to hide labels by geometries?
Or alternative approaches?

Any help is welcome!

PS: This is actually meant to be some sort of authorization, although this is 
apparently easy to circumvent.

Best regards,
Andreas
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to