[Qgis-developer] QGIS Server: using same layer name in different projects

2014-06-19 Thread Luca Manganelli
Hi, I discovered that if you use QGIS Server along two different project that share the same layer name. I.e.: first project: roads layer name --- I use the postgis table name roads, filtered by highways second project: roads layer name --- I use the postgis table name roads, with no

Re: [Qgis-developer] QGIS Server: using same layer name in different projects

2014-06-19 Thread Andreas Neumann
Hi Luca, It is a known issue. It is not an issue about the layer name, but of layer ids. You have to make sure that layer ids in all of your projects are unique. You probably copy/pasted projects and this does not upgrade the layerid. It is not a problem to have two or more identical layer

Re: [Qgis-developer] QGIS Server: using same layer name in different projects

2014-06-19 Thread Luca Manganelli
On Thu, Jun 19, 2014 at 10:12 AM, Andreas Neumann a.neum...@carto.net wrote: Hi Luca, It is a known issue. It is not an issue about the layer name, but of layer ids. You have to make sure that layer ids in all of your projects are unique. You probably copy/pasted projects and this does not