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
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user