[Qgis-developer] QGIS server renders tiled map annotations on every tile

Alessandro Pasotti apasotti at gmail.com
Thu Feb 18 08:25:57 PST 2016


2016-02-18 17:07 GMT+01:00 Régis Haubourg <
regis.haubourg at eau-adour-garonne.fr>:

> Hi,
> I'm having some map annotation on some project, not pinned to a location. I
> use it to let user see some informations about the map he is using
> (metadata
> are to deeply hidden in project properties for that).
> When asking qgis server to render tiles on any layer, every tile show the
> annotation.
> Is there an option to avoid that ? If not, should annotation been rendered
> in Qgis server context?
>
> Cheers
> Régis
>
>

Hello,

from QGIS Server point of view, a tile is just a small map, it doesn't have
any information about the fact that the tile will be patched to build a
bigger map.

You should disable annotations from the project configuration if you are
planning to serve the map as tiles.

If you want to keep that configurable, you might want to move annotations
to a particular layer and selectively show/hide that layer depending on the
requested image size, a simple Server plugin could be helpful in that case.


-- 
Alessandro Pasotti
w3:   www.itopen.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160218/14719bc0/attachment.html>


More information about the Qgis-developer mailing list