Hi Marc! Thanks for answering my question! You're right that MapServer only can produce two levels of named group layers, but thats not the main issue. The WMS specification states that a service can have as many (or not any at all) nested group layers, and the group layers can have a name and a title or only a title. You can even mix and match group layers with and without a name in the same service. If a group layer doesn't have a name it's only meant as a hint to the client on how to structure the TOC, but if a group layer has a name it can be requested in a GetMap request. On the other hand requesting all layers the way qGIS currently does is also perfectly legal, even if the service publishes named group layers.
The problem (or bug) with the current WMS client is that qGIS requests the layers in revers order if a user only selects the top group layer in the layer list, or selects group layers form top to bottom in the layer list dialog. BTW. How do you enable WMS request debug output from qGIS (to capture the GetMap request)? ----- Regards, Pål Kristensen Norwegian Mapping Authority -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/qGIS-WMS-client-question-tp5766121p5773337.html Sent from the qgis-user mailing list archive at Nabble.com. _______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
