[Qgis-developer] QgisServer: enabled layers from project not taken
a.neumann at carto.net
Wed Oct 19 06:57:36 EDT 2011
On 10/19/2011 03:54 AM, luca_manganelli at comune.trento.it wrote:
> I noticed that QgisServer doen't take enabled layers from project file, but
> the user should enable them in the web client.
yes - it is on our todo-list. The idea would be to expose the
information of layer visibility in the GetCapabilities response - but
the hard thing is to do this in a way that is conformant with the WMS
standard - it probably means to introduce another vendor-specific
extension. Any ideas how to solve it?
> Another request: is it possible to hide some layers from TOC in the web
> client (but they are visible in map)?
this is currently not possible. Any idea how to achieve this in a
generic and transparent way? I guess one way would be that again we add
a vendor-specific extension and mark those specific layers. QGIS
webclient would hide these layers in the tree but always add them in the
GetMap request. But then these layers would always be visible and the
user wouldn't have any control ...
More information about the Qgis-developer