Bug report #15085

Updated by René-Luc ReLuc over 6 years ago

The setting 'Use layer ids as name' works for WMS-call but +does not+ work for WFS-call. This makes it difficult programmatically to use a combination of WMS and WFS.



*Case:*

I have a qgis-project. The qgis-project is published as a WMS and WFS with QGIS Server (ubuntu). Since there is inconsistency in the naming of files with WMS and WFS if a layer contains a space (reported as bug), I want to use the setting 'Use layer ids as name' to be able to use a combination of WMS and WFS call to the same qgis-project. In Project Properties I specify that I want to use layer ids as names:

!Use_layer_ids_as_names.png!



*The problem*

When calling a WMS GetCapability-request to this Qgis-project layerids are used as names:

!WMS_use_layernames_as_ids_001.png!



However, when calling a WFS GetCapability-request to this Qgis-project, the layerids are NOT used as names (it is the layername instead):

!WFS_use_layernames_as_ids_001.png!

Back