Tiles are basically independent images until the client assembles them. You 
either need to do something to each tile or something using the client. You 
never know which tile will be in the lower left corner of the display.

The only other option I can think of is somehow exploiting the meta-tiling 
process (assuming you're using that). Recall that meta-tiling creates a much 
larger image (to minimize edge effects) and creates the tiles from that. You 
could, I think, annotate just the corner of the meta-tile. That would give you 
sparser attribution, but that may not be what you're looking for nor does that 
guarantee where the attribution will be located.

Another option would be to not worry about attribution on the tiles (they're 
not the easiest to use) but have a "download map" link that creates a non-tiled 
image and annotate that.

Steve

________________________________
From: [email protected] 
[[email protected]] on behalf of Ariane Brörmann 
[[email protected]]
Sent: Wednesday, February 20, 2013 6:33 AM
To: [email protected]
Subject: Re: [mapserver-users] mapcache: How can I configure an 
attributionlayer with mapcache?

Thank you for the OpenLayers tip. But i'm looking for a more client-independent 
solution. Is there something else i can try?

Ariane


2013/2/15 Jeff McKenna 
<[email protected]<mailto:[email protected]>>
On 13-02-15 10:01 AM, Lime, Steve D (MNIT) wrote:
> I'm assuming you're using open layers or similar. There isn't one image,
> that's the point of using tiles, it only looks like one. You could do
> something with OL to overlay a watermark but it's just an overlay and
> not part of the underlying tiles. That's would also be independent of
> mapcache.
>

I have done what Steve mentioned recently, using the "attribution"
option for each OpenLayers layer, and then controlled the location of
the watermark with CSS (.olControlAttribution).  Works well!

I found how to do it through the OpenLayers mailing list
(http://osgeo-org.1560.n6.nabble.com/OpenLayers-Dev-f3888596.html)

-jeff




--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/



_______________________________________________
mapserver-users mailing list
[email protected]<mailto:[email protected]>
http://lists.osgeo.org/mailman/listinfo/mapserver-users


_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to