Combining layers in WMS – continued
Not long ago we have shown how to add a group of layers to a third party WMS consuming application as a single layer. In this post we will show how with a bit of careful planning the control over a group of layers’ visibility can be kept exclusively within Earthlight.
- First we will need a map with a group layer. Our sample group layer consists of the most common OS MasterMap layers: Boundary Line, Cartographic Text, Cartographic Symbol, Topographic Point, Topographic Line and finally Topographic Area.
- We can now add a “Tag” to the group layer and make sure that none of the sub-layers is tagged. Open Properties of the group of OS MM layers and enter a “Tag”.
Once the map is saved we can begin WMS configuration.
- We will modify the WMS_TEST server configuration to reflect the change in our WMS map. Please go to Administration tab and click WMS Service tool. In Manage WMS Servers window check the existing WMS_TEST server and click Change… button to modify this WMS Server.
- The Server Details dialog window will be displayed. As you can see on the screenshot below we only check the box next to the name of our group layer. This ensures that the external application will have no control over visibility of individual layers – these have not been tagged for the same reason.
- It is again Quantum GIS that servers as a WMS consuming application. The series of screenshots below show how our WMS configuration in Earthlight changed the way QGIS presents resources available via our WMS feed.