https://issues.qgis.org/https://issues.qgis.org/favicon.ico2016-06-20T03:31:12ZQGIS Issue TrackingQGIS Application - Bug report #15086: Inconsistency between layernames in WMS and WFShttps://issues.qgis.org/issues/15086?journal_id=710562016-06-20T03:31:12ZMie Winstrupmie@septima.dk
<ul><li><strong>File</strong> <a href="/attachments/download/10051/WFS_call.png">WFS_call.png</a> added</li><li><strong>File</strong> <a href="/attachments/download/10052/WMS_call.png">WMS_call.png</a> added</li><li><strong>File</strong> <a href="/attachments/download/10053/WMS_use_layernames_as_ids.png">WMS_use_layernames_as_ids.png</a> added</li><li><strong>File</strong> <a href="/attachments/download/10054/WFS_use_layernames_as_ids_001.png">WFS_use_layernames_as_ids_001.png</a> added</li></ul> QGIS Application - Bug report #15086: Inconsistency between layernames in WMS and WFShttps://issues.qgis.org/issues/15086?journal_id=710572016-06-20T04:14:02ZJukka Rahkonenjukka.rahkonen@mmmtike.fi
<ul></ul><p>For comparison I add some links to an implementation proposal and the discussion that followed in the Geoserver project:<br /><a class="external" href="https://github.com/geoserver/geoserver/wiki/GSIP-127">https://github.com/geoserver/geoserver/wiki/GSIP-127</a><br /><a class="external" href="http://osgeo-org.1560.x6.nabble.com/Regression-in-2-7-x-valid-coverage-names-are-rejected-because-not-valid-xml-names-tt5183102.html">http://osgeo-org.1560.x6.nabble.com/Regression-in-2-7-x-valid-coverage-names-are-rejected-because-not-valid-xml-names-tt5183102.html</a></p>
<p>I believe that the best that can be done would be to inform user: This layer name is invalid as a WFS typename, reason:[] Do you want to:<br />a) Rename the the layer so that it is valid for both WMS and WFS<br />b) Keep the name for WMS and let QGIS to convert the name into valid typename for WFS</p> QGIS Application - Bug report #15086: Inconsistency between layernames in WMS and WFShttps://issues.qgis.org/issues/15086?journal_id=716942016-07-06T05:23:42ZMie Winstrupmie@septima.dk
<ul></ul><p>Jukka Rahkonen wrote:</p>
<blockquote>
<p>For comparison I add some links to an implementation proposal and the discussion that followed in the Geoserver project:<br /><a class="external" href="https://github.com/geoserver/geoserver/wiki/GSIP-127">https://github.com/geoserver/geoserver/wiki/GSIP-127</a><br /><a class="external" href="http://osgeo-org.1560.x6.nabble.com/Regression-in-2-7-x-valid-coverage-names-are-rejected-because-not-valid-xml-names-tt5183102.html">http://osgeo-org.1560.x6.nabble.com/Regression-in-2-7-x-valid-coverage-names-are-rejected-because-not-valid-xml-names-tt5183102.html</a></p>
<p>I believe that the best that can be done would be to inform user: This layer name is invalid as a WFS typename, reason:[] Do you want to:<br />a) Rename the the layer so that it is valid for both WMS and WFS<br />b) Keep the name for WMS and let QGIS to convert the name into valid typename for WFS</p>
</blockquote>
<p>Maybe it would be best if QGIS convert spaces in names to '_' for WMS, since the WFS specification does not allow spaces?</p> QGIS Application - Bug report #15086: Inconsistency between layernames in WMS and WFShttps://issues.qgis.org/issues/15086?journal_id=777392017-04-30T23:05:19ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Regression?</strong> set to <i>No</i></li><li><strong>Easy fix?</strong> set to <i>No</i></li></ul> QGIS Application - Bug report #15086: Inconsistency between layernames in WMS and WFShttps://issues.qgis.org/issues/15086?journal_id=837192017-10-20T08:20:39ZRené-Luc ReLucrldhont@3liz.com
<ul><li><strong>Description</strong> updated (<a href="/journals/diff/83719?detail_id=72473" title="View differences">diff</a>)</li></ul><p>The layer name in WFS has to be compatible with an XML element tag name. It is not only used in URL has apram, it is also used to defined the Feature XML element tag name.</p> QGIS Application - Bug report #15086: Inconsistency between layernames in WMS and WFShttps://issues.qgis.org/issues/15086?journal_id=837202017-10-20T08:21:32ZRené-Luc ReLucrldhont@3liz.com
<ul></ul><p>Used the shortname to avoid this difference.</p> QGIS Application - Bug report #15086: Inconsistency between layernames in WMS and WFShttps://issues.qgis.org/issues/15086?journal_id=837232017-10-20T08:23:25ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>René-Luc ReLuc wrote:</p>
<blockquote>
<p>Used the shortname to avoid this difference.</p>
</blockquote>
<p>so this can be closed?</p>