[Qgis-user] Lizmap-Web-Client - New major version 3.0 released !

kimaidou kimaidou at gmail.com
Wed Jun 8 06:46:33 PDT 2016


Hi Luca,

About the labels clipping, it is only seen for tiled rendering ( small
square images asked from QGIS Server to built the layer(s) image
coresponding to the user screen.

You can try one of these options :

* For polygons, go to the label settings of your vector layers, and in the
second to last tab ("Placement" ), check the option "Whole polygon".
* For long labels, you can try to use wordwrap function ( in expresions).
For exemple wrap after 15 chars

See how theses first steps change the situations. Usually it is enough.

If not, you can use the option "metatile" which is made for this kind of
situations. You can try with 3,3  then 3,5 and even 5,5. See some
explanations about metatling here [1] or here [2]
Be aware that metatiles will be hard for the server, because Lizmap will
ask for a much bigger images for each tile to render. If you really need
this feature, be sure to activate the server cache. You can use "0" as an
expiration time to never requests new version ( 0 means illimited timelife)

Finally, if you do not want to have a tiled rendering, you can alway check
the option "Single tile" in Lizmap plugin for each layer which needs it.

Some in-progress documentation about performances : [3]

[1] https://www.mapbox.com/tilemill/docs/guides/metatiles/
[2] http://geowebcache.org/docs/1.8.1/concepts/metatiles.html
[3]
https://github.com/3liz/lizmap-documentation/blob/master/source/publish/advanced_lizmap_config.rst#general-concepts

Michaƫl


2016-06-08 15:08 GMT+02:00 Luca Manganelli <luca76 at gmail.com>:

> On Tue, Jun 7, 2016 at 2:54 PM, kimaidou <kimaidou at gmail.com> wrote:
> > We added WMTS capability to publish QGIS layers cached server side as
> WMTS
> > layer, and a command-line seeding tool to pregenerate the tiles cache.
>
>
> This is very interesting on a performance side. Have you solved the
> famous labels clipping issues?
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20160608/a71aba7a/attachment.html>


More information about the Qgis-user mailing list