[Qgis-user] [partly solved] QGIS Server street names in tiles

bernhard.stroebl at jena.de bernhard.stroebl at jena.de
Sun Mar 4 22:35:35 PST 2012


Dear All,

as I got no answers on this I reckon there is currently not much to do 
on the server side (QGIS server).
For those of you intersted I found the following solutions on the client 
side:
a) mapcache: use <metatile> and <metabuffer> tags. I used metatile 3 and 
metabuffer 256
b) OpenLayers (asking QGIS server directly not via mapcache): use the 
Layer property "gutter", I used 256

Both solutions ask the server to render a 768*768px large image and only 
use 1/9 (i.e. the center 256*256) of it. This of course slows down the 
entire WMS application.

c) For OpenLayers you could also set the property "singleTile" to true, 
forcing OL to request only one tile for the total of your map 
(performance assumingly depending on the size of you map).

Bernhard

Am 02.03.2012 12:38, schrieb bernhard.stroebl at jena.de:
> Dear list,
>
> I am currently working on a city map with QGIS server as WMS server
> based on a PostGIS backend.
> In the QGIS-Project (QGIS 1.7.4) used to serve the city map I set up the
> labels for street names to be curved, on line and ticked the option
> "Merge connected lines to avoid duplicates". The labels look nicely in
> OpenLayers when requested directly from the server (Option "singleTile"
> set to true).
> I set up mapchache http://mapserver.org/trunk/en/mapcache/ to work with
> QGIS Server. This works very well and speeds up loading into OpenLayers
> a lot. However I get label artefacts at the edge of tiles.
>
> Does anybody have any idea how to solve this?
>
> regards
>
> Bernhard
>
>
> ________ Information from NOD32 ________
> This message was checked by NOD32 Antivirus System for Linux Mail Server.
> http://www.nod32.com
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
> ________ Information from NOD32 ________
> This message was checked by NOD32 Antivirus System for Linux Mail Server.
> http://www.nod32.com



________ Information from NOD32 ________
This message was checked by NOD32 Antivirus System for Linux Mail Server.
http://www.nod32.com



More information about the Qgis-user mailing list