This improvement suggestion wants to solve 2 issues which are less optimal
In WMS capabilities the service title is repeated as title of the service and as title of the root layer, in common WMS clients both levels are displayed, having the same title
There is no option to sort the layers in a WMS capabilities root layer, if a wms client adds all layers at once, the layers are added alphabetically, and not as desired, eg polygon, line, point
If we allow to set a layergroup as rootlayer, layers in that group can be sorted and the rootlayer will have a proper title
only 1 layergroup can be set as rootlayer
other layergroups should be of type container-tree, named-tree
layers not in any group are not displayed in capabilities
I think that ordering of layers is a client issue and as such having capabilities in alphabetical order is fine.
Hi Ian, I tend to agree that for most use cases layer order may not be an issue. But see for example this service
if you open it in qgis you'll notice that it puts the most recent data on top, which is nice, so people don't need to search for the most common layers.
as discussed on mailinglist setting a layergroup as rootlayer is quite impactfull and will not fully cover the case (the order will not be available in WFS/WCS). My suggestion would be to close this issue and create new issues for layer-order and unability to change rootlayer title.
Hi Paul, I've closed this ticket, but let's keep the discussion on the list alive.