[Qgis-user] [Qgis user] Server plugin - exclude empty layer groups in GetCapabilities response
pathmapper
pathmapper at posteo.de
Thu Jul 1 05:54:48 PDT 2021
In "Project properties" -> "QGIS Server" -> "WMS Capabilities" there's a
section where it's possible to exclude layers:
https://docs.qgis.org/3.16/en/docs/server_manual/getting_started.html#configure-your-project
I think it's possible to select also layer groups there.
On 01.07.2021 14:13, Marco Casalboni wrote:
> 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
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
More information about the Qgis-user
mailing list