[Qgis-user] QGIS-Webclient Layer-visibility

G. Allegri giohappy at gmail.com
Fri Oct 19 00:18:52 PDT 2012


I have solved this problem (and others) using server code. In my case I'm
working on a Django project which acts as a proxy between qgis-web-client
and qgis-server.
Without something like this the only options would

 - (generic) be to implement a method inside qgis-server which could pass
the qgis project to the client, probably in a json-formatted fashion
 - (specific) implement methods to retrieve specific informations about the
qgis project, like the layer visibility

giovanni

2012/10/19 Dieter Becker <webmapping.dieter at gmail.com>

> Dear QGIS-users,
>
> I have got a questions concerning the layer-visibility of the
> QGIS-Webclient:
>
> In some older mails (11/2011) of this mailinglist I found following
> information:
>
> ---
> There is also a pending feature in QGIS server that should allow to
>  retrieve layer visibility from the GetCapabilities XML document, thus
>  eliminating the need to manually set layer visibility.
>
>  Andreas
>
> ---
>
> Does someone of you know if there is found a convienient way in the
> meantime to automatically determine the visible layers of a qgis-project so
> that there is no need to write down everey layer for the rest-adress?
>
> I know that for example the qgis-cloud-plugin for QGIS produces a
> js-config file that has the information about visible layers and
> start-/maxExtent.
> But is there also way to use something like this if I want to host my own
> webclient?
>
> best wishes,
>
> Dieter
>
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20121019/5ec1e8bf/attachment.html>


More information about the Qgis-user mailing list