[Qgis-user] [Qgis user] Server plugin - exclude empty layer groups in GetCapabilities response

Marco Casalboni casalbonim at gmail.com
Thu Jul 1 05:13:54 PDT 2021


I am writing a plugin that responds to a GetCapabilities request.
If I have a layer group with 0 sublayers in my project, I want to exclude
the layer group in the GetCapabilities response.

How can I accomplish this?

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210701/150cec4a/attachment.html>


More information about the Qgis-user mailing list