Sorry, I completely forgot to thank you for the reply, it came in just as I was 
leaving for a few days and I’ve only just got back to looking at this issue.

I’ve tried what you suggested but my interpretation of the licensing requires 
each tile requires a watermark.  The images rendered with this method only 
contain part of the watermark, or sometime none if the tile size is small 
enough.

I did look at using a layout (thinking I could add the layout parameter at the 
proxy server) but I could not see anyway of dynamically setting the size of the 
logo so it filled 10% of the tile.

Are there other tricks I could use?  To summarise the my goal, render a graphic 
that fills a percentage of the requested tile at a particular zoom level.

From: Jonathan Moules [mailto:j.mou...@hrwallingford.com]
Sent: 18 June 2015 17:03
To: Kirk, Victor; 'geoserver-users@lists.sourceforge.net'
Subject: RE: Watermarking

Hi Vic,
I know this has come up before, but a quick search isn’t finding it.

Watermarking is fairly easy. The way I did it if memory serves;


-       Create a shapefile covering the entirety of the UK.

-       Style the shapefile with the watermark so that only the watermark is 
visible and somewhat transparent (20%?).

-       Use the watermark as the “top” layer in a layergroup with any of your 
OS datasets.

It works quite well and gets included in all outputs, WMTS, WMS, cached or 
otherwise.
You can see it in action here when you zoom in to 1:5k or closer.

Cheers,
Jonathan


From: Kirk, Victor [mailto:victor.k...@cubic.com]
Sent: Friday, June 12, 2015 11:02 AM
To: 'geoserver-users@lists.sourceforge.net'
Subject: [Geoserver-users] Watermarking

Hi,

I’m currently working with a dataset whose licensing requires a watermark.  The 
watermark is to cover 10% of the rendered image.  This data only required when 
zoomed right in.  I couldn’t find a way of doing this in Geoserver so I’ve made 
a modification to the watermarking to accept a zoom level and a ratio of the 
tile to resize the watermark logo to.

The dataset in question is Ordinance Survey’s Master Map, so I’m sure other 
people must face similar watermark restrictions.

Is there a way of doing the above with Geoserver and if not, is there a better 
way of implementing my changes as a plugin rather than the core?  Lastly, if 
the answer to both of these is no, would such a change be of enough interest to 
warrant pursuing incorporation into Geoserver’s code base.

Kind Regards,

Vic

[Cubic Transportation Systems]<http://cts.cubic.com/>

Victor Kirk
Lead Developer
Cubic Transportation Systems (ITMS) Ltd
+44 1642 636894
cts.cubic.com<http://cts.cubic.com/>

[NextCity]<http://www.youtube.com/watch?v=qhd6XYP2DBE&feature=related>

[RSS]<http://cts.cubic.com/Publications/CubicBlog.aspx>

[Facebook]<https://www.facebook.com/CubicTransportationSystems>

[Twitter]<https://twitter.com/CubicTS>

[LinkedIn]<http://www.linkedin.com/company/cubic>

[YouTube]<http://www.youtube.com/user/CubicTS>



Joint Winner, Best Bank Card Ticketing Scheme
MasterCard Transport Ticketing Awards 2015

Joint Winner, Most Innovative Transport Project
London Transport Awards 2015

Winner, 2014 CONNECT Awards Most Innovative New Product
Communications & IT category for NextBus Fleet Management Application

Winner, 2014 Australian Smart Infrastructure Award, Opal Card

Co-Winner, ITS-NY Project of the Year, MTA Bus Time®


________________________________

This document is intended for, and should only be read by, those persons to 
whom it is addressed. Its contents are confidential and if you have received 
this message in error, please delete it. Any form of reproduction, 
dissemination, copying, disclosure, modification, distribution and / or 
publication of this message without our prior written consent is strictly 
prohibited.

Any views expressed in this message are those of the individual sender, and do 
not necessarily represent the position of Cubic Transportation Systems (ITMS) 
Limited (‘CTS’). Furthermore CTS does not authorise or use e-mail for official 
contractual correspondence. Nothing received in e-mail has any contractual 
validity.

CTSL and each legal entity in Cubic Corporation reserve the right to monitor 
all e-mail communications through its networks.

Registered Office:
Cubic Transportation Systems Ltd
AFC House
Honeycrock Lane
Salfords
Surrey
RH1 5LA
United Kingdom

Registered in England under number 8498086

________________________________


This message has been scanned for viruses by 
MailControl<http://www.mailcontrol.com/>, a service from BlackSpider Technology

Click 
here<https://www.mailcontrol.com/sr/!WbMzJubB0zGX2PQPOmvUoRq5N+0kMbNH!k9w99yDPteN9vDhcEvFHyQQuFuwh!AVNukBLmUyPAX!sYT9IPN0A==>
 to report this email as spam.



________________________________

HR Wallingford and its subsidiaries uses faxes and emails for confidential and 
legally privileged business communications. They do not of themselves create 
legal commitments. Disclosure to parties other than addressees requires our 
specific consent. We are not liable for unauthorised disclosures nor reliance 
upon them.
If you have received this message in error please advise us immediately and 
destroy all copies of it.

HR Wallingford Limited
Howbery Park, Wallingford, Oxfordshire, OX10 8BA, United Kingdom
Registered in England No. 02562099

________________________________
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to