[Qgis-developer] WMS: disclaimers and tiles

Paolo Cavallini cavallini at faunalia.it
Mon Sep 3 05:42:39 PDT 2012


Hi all.
Currently, WMS layers are printed by subdividing a single WMS request (ok for display
on a video) into multiple tiles. This works very well, apparently better than in
several proprietary systems.
One problem, however, arises: if the server adds a disclaimer (copyright text, or
similar) to each image produced, when the map is printed the text is replicated for
each tile, thus giving an horrible result.
I do not see an easy and foolproof way of avoiding this. A couple of approaches could be:
- add a setting for overlaying adjacent tiles, so that one could choose how many
pixels should be hidden by the left/right/top/bottom adjacent tile; a bad hack, and
fails when labels are placed in the middle of the tile
- add a proprietary extension to the server, i.e. "WMS series": the client could then
ask the tiles as a series, and the labels could be applied to e.g. the first tile
only; this would not solve the problem for other WMS backends.
Any better strategy? Thanks for suggestions and thoughts.
All the best.
-- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario


More information about the Qgis-developer mailing list