[mapserver-users] mapcache: How can I configure an attributionlayer with mapcache?
Lime, Steve D (MNIT)
Steve.Lime at state.mn.us
Fri Feb 15 06:01:57 PST 2013
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.
Steve
________________________________
From: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org] on behalf of Ariane Brörmann [ariane.broermann at googlemail.com]
Sent: Friday, February 15, 2013 2:37 AM
To: Martin Kofahl
Cc: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] mapcache: How can I configure an attributionlayer with mapcache?
Thank you for this hint and the quick answer.
I have already tried the watermark but the label appears on every tile.
I would like to have the label at a bottom corner only once, no matter of how many tiles my image consists.
2013/2/14 Martin Kofahl <martin.kofahl at gmail.com<mailto:martin.kofahl at gmail.com>>
Hi Ariane,
you may configure to add a watermark (from png file, etc) in the tileset section. See http://mapserver.org/en/mapcache/config.html.
<!-- watermark
optional tag to add a watermark to the tiles *before* storing them to cache
the supplied image MUST be exactly the same size as the size of the tiles
configured in the <grid>
the supplied image is read when the configuration is loaded.
if you make changes to the image, they will NOT be reflected on tiles already
stored in the cache, nor on newly stored tiles until the server is restarted
-->
<watermark>/path/to/static/watermark.png</watermark>
Martin
2013/2/14 Ariane Brörmann <ariane.broermann at googlemail.com<mailto:ariane.broermann at googlemail.com>>
[X]
Is there a possibility to add an attributionlayer (copyright) with mapcache?
If yes, how can I configure this?
Ariane
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130215/7569f551/attachment.htm>
More information about the MapServer-users
mailing list