[Qgis-user] qgis-server vs layer id

Burghardt.Scholle at stadt.wolfsburg.de Burghardt.Scholle at stadt.wolfsburg.de
Wed Apr 8 23:36:53 PDT 2015


Dear list,

I enjoy working with templates for QGIS projects. This brings when working with QGIS Desktop many advantages, but leads to problems with the QGIS Web Client. When I save a project file under a different name, the id of the layer, unfortunately, is maintained. If I use both project files in the qgis-server, this creates problems with caching of layer. That is particularly evident when identical layer named differently or otherwise be symbolized. 
This topic is discussed on several occasions in the past [1,2] and has been referred to as "bug" or "limitation". In [2] it's said that the combination of project name and layer ID could be a solution for the problem. Up to and including version 2.8.1, the change has not yet been carried out. Is there an effort to change the creation of the layer ID in a future release?

Kind regards
Burghardt

[1] http://osgeo-org.1560.x6.nabble.com/Qgis-server-returns-map-from-another-project-that-is-defined-in-URL-td5153101.html#a5153150
[2] http://hub.qgis.org/issues/7956

***************
mailto:burghardt.scholle at stadt.wolfsburg.de





More information about the Qgis-user mailing list