Actually it looks like once upon a time we (well you) did do this -
http://grepcode.com/file/repo1.maven.org/maven2/org.geoserver/wms/1.7.0/org/vfny/geoserver/wms/responses/map/metatile/MetatileWatermarkPainter.java


Ian


On 18 February 2014 12:11, Ian Turton <[email protected]> wrote:

>
>
>
> On 18 February 2014 11:42, Andrea Aime <[email protected]>wrote:
>
>> On Tue, Feb 18, 2014 at 12:31 PM, Ian Turton <[email protected]> wrote:
>>
>>> I'm running in to some issues with water marking - if I specify my
>>> watermark on the Layer/ Publish tab the GeoServer can see the image and
>>> correctly guesses the size and image type but nothing shows up in layer
>>> preview. If I set the same image in the global WMS settings page then it
>>> shows up in a single tile but when I switch to tiling it seems to only show
>>> up in the center tile of the meta tile set. This happens with both 2.4.3
>>> and 2.5 beta but the only references I can find on line are
>>> http://jira.codehaus.org/browse/GEOS-3107 which claims to have fixed
>>> this problem some time ago.
>>>
>>> Any ideas? I'd really like to only water mark a single layer (or layer
>>> group) but I'll settle for a whole server if it watermarks all the tiles (I
>>> have to cover 10% of the displayed map so fixed tiles seems easiest).
>>>
>>
>> Don't believe we ever had a way to put watermark on every tile when using
>> meta-tiling.
>> And not sure it makes sense either, if you are seeding an external tile
>> cache it will make 4x4 or larger
>> requests regardless, and the slice it, giving you the same result as what
>> we have internally.
>>
>
> That does make sense (though the jira suggests otherwise) - So I guess I
> probably do want a repeat option, I'll probably follow Jonathon's polygon
> method for the time being.
>
> Any idea why setting the water mark on the layer publish tab doesn't work?
>
> Cheers
>
> Ian
>
>
>


-- 
Ian Turton
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to