<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
Hi QGIS Server devs,<br>
<br>
We, David and I, are working on enhancing the way QGIS Server is
building the WMS GetCapabilities document. [1]<br>
<br>
And I have some questions about the QGIS Server WMS Advertised
extent and the layers / groups bounding box in GetCapabilities.<br>
<br>
For exemple in the tests/testdata/qgis_server/test_project.qgs [2],
the WMS Advertised extent is set to <br>
* CRS="EPSG:4326" minx="44.901236" miny="8.203154" maxx="44.901599"
maxy="8.204165" [3][4]<br>
<br>
And in this project, the WGS84 extent of the landsat layer is<br>
* CRS="EPSG:4326" minx="30.151856" miny="17.924273" maxx="30.257289"
maxy="18.045658" [5]<br>
<br>
As you can read, the layer landsat is out of the WMS Advertised
extent.<br>
<br>
So the WMS GetCapabilities document contains a layer landsat with a
bounding box outside the root layer / group bounding box.<br>
<br>
I was thinking that the root layer / group bounding box should
include all the layers bounding box.<br>
<br>
So I wonder what the role of the WMS Advertised extent is.<br>
* Is it only the root layer / group extent ?<br>
* Is it a restricted extent (no data available outside this extent)
?<br>
* Is it the minimum extent of all WMS layers ?<br>
<br>
1.
<a class="moz-txt-link-freetext" href="https://github.com/dmarteau/QGIS/tree/wms-getcapabilities-refactoring-2">https://github.com/dmarteau/QGIS/tree/wms-getcapabilities-refactoring-2</a><br>
2.
<a class="moz-txt-link-freetext" href="https://github.com/qgis/QGIS/blob/master/tests/testdata/qgis_server/test_project.qgs">https://github.com/qgis/QGIS/blob/master/tests/testdata/qgis_server/test_project.qgs</a><br>
3.
<a class="moz-txt-link-freetext" href="https://github.com/qgis/QGIS/blob/master/tests/testdata/qgis_server/test_project.qgs#L1818">https://github.com/qgis/QGIS/blob/master/tests/testdata/qgis_server/test_project.qgs#L1818</a>
<br>
4.
<a class="moz-txt-link-freetext" href="https://github.com/qgis/QGIS/blob/master/tests/testdata/qgis_server/wms_getcapabilities_rewriting.txt#L114">https://github.com/qgis/QGIS/blob/master/tests/testdata/qgis_server/wms_getcapabilities_rewriting.txt#L114</a><br>
5.
<a class="moz-txt-link-freetext" href="https://github.com/qgis/QGIS/blob/master/tests/testdata/qgis_server/wms_getcapabilities_rewriting.txt#L160">https://github.com/qgis/QGIS/blob/master/tests/testdata/qgis_server/wms_getcapabilities_rewriting.txt#L160</a><br>
<br>
Thanks<br>
René-Luc Dhont<br>
<div id="grammalecte_menu_main_button_shadow_host" style="width:
0px; height: 0px;"></div>
</body>
</html>