Skip to content

Commit

Permalink
skip name attribute for groups in wms capabilities document
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ committed Jan 30, 2024
1 parent 00e26e6 commit 56aa506
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/server_manual/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -906,6 +906,14 @@ Check the |checkbox| :guilabel:`Add layer groups in GetLegendGraphic` option
if you want to also insert the layer groups (and subgroups) names
into the layer tree, just like in QGIS Desktop legend.

When QGIS project contains layer groups, they are listed in WMS capabilities document alongside with layers.
If a group (its name as listed in capabilities) is included in WMS GetMap ``LAYERS`` parameter
alongside with names of layers in that group, QGIS would duplicate the layers:
once for the group and once for specific layer.
Check the |checkbox| :guilabel:`Skip name attribute for groups` option
to avoid the duplication: group names are not returned in GetCapabilities
and only the leaf layers can be requested in GetMap.

You can also use the :guilabel:`GetFeatureInfo geometry precision` option to
set the precision of the GetFeatureInfo geometry. This enables you to save
bandwidth when you don't need the full precision.
Expand Down

0 comments on commit 56aa506

Please sign in to comment.