[mapserver-users] watermark

Lars Lingner ml at lingner.eu
Thu Apr 15 02:07:25 PDT 2010


Milo van der Linden schrieb:
> Hi list,
> 
> I am trying to create a watermark on an wms aerial photo layer using the
> following technique:
> 
> - Create a new shp for my area of interest
> - hatch the shape with an image
> - set the image to a very low opacity
> - add this shape as layer to my mapfile
> - trying to set the layer to "always on top, always on" for the aerial
> photo
> 
> I am failing at the last step, somehow I cannot get the layer to be
> always on. If I do a wms request calling both layers: aerial_photo and
> watermark, I get the effect I want, but when I only call the
> aerial_photo, my watermark is not showing, whether I set it to ON,
> DEFAULT, or OFF.


Did you try to put the areal layer and the watermark layer in one group?
You can then request the group name.


(but the docs say if a layer status is set to DEFAULT it is delivered
when requested as WMS. Hmmmm... I would have to test it to be completely
sure)

Lars



More information about the MapServer-users mailing list