<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Or maybe you could use something like MapProxy - which allows to fetch a bigger chunk of the data in a single request and chops it up into the tiles and caches them. Then the tiles wouldn't be served by QGIS server directly, but from the MapRroxy.</p>
<p>MapProxy has a concept of "MetaTiles" to help solve this label issue - see <a href="http://mapproxy.org/docs/nightly/labeling.html">http://mapproxy.org/docs/nightly/labeling.html</a></p>
<p>I am not really experienced with it - my guess is that the "MetaTiles" only partially solves the issue, but doesn't fully fix it.</p>
<p>Andreas</p>
<p>On 2016-02-18 17:25, Alessandro Pasotti wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">2016-02-18 17:07 GMT+01:00 Régis Haubourg <span><<a href="mailto:regis.haubourg@eau-adour-garonne.fr">regis.haubourg@eau-adour-garonne.fr</a>></span>:<br />
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">Hi,<br /> I'm having some map annotation on some project, not pinned to a location. I<br /> use it to let user see some informations about the map he is using (metadata<br /> are to deeply hidden in project properties for that).<br /> When asking qgis server to render tiles on any layer, every tile show the<br /> annotation.<br /> Is there an option to avoid that ? If not, should annotation been rendered<br /> in Qgis server context?<br /><br /> Cheers<br /> Régis<br /><br /></blockquote>
</div>
<br /><br /></div>
<div class="gmail_extra">Hello, <br /><br /></div>
<div class="gmail_extra">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.<br /><br /></div>
<div class="gmail_extra">You should disable annotations from the project configuration if you are planning to serve the map as tiles.<br /><br /></div>
<div class="gmail_extra">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.<br /><br /></div>
<div class="gmail_extra"> </div>
<div class="gmail_extra"><br />-- <br />
<div class="gmail_signature">Alessandro Pasotti<br />w3:   <a href="http://www.itopen.it">www.itopen.it</a></div>
</div>
</div>
<br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">_______________________________________________<br /> Qgis-developer mailing list<br /><a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br /> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br /> Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></div>
</blockquote>
<p> </p>
<div> </div>
</body></html>