Re: [QGIS-Developer] QGIS Server WMS Advertised extent and layers / groups bounding box in GetCapabilities

2022-10-04 Thread David Marteau via QGIS-Developer

Hi,

Does that mean that is not playing any authoritative rôle  ?

David

Le 04/10/2022 à 13:43, Jürgen E. Fischer via QGIS-Developer a écrit :

Hi René-Luc,

On Tue, 04. Oct 2022 at 13:37:54 +0200, René-Luc Dhont via QGIS-Developer wrote:

So I wonder what the role of the WMS Advertised extent is.
* Is it only the root layer / group extent ?
* Is it a restricted extent (no data available outside this extent) ?
* Is it the minimum extent of all WMS layers ?

   * an (suggested) area of interest for clients.


Jürgen


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info:https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-developer___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] QGIS Server WMS Advertised extent and layers / groups bounding box in GetCapabilities

2022-10-04 Thread Jürgen E . Fischer via QGIS-Developer
Hi René-Luc,

On Tue, 04. Oct 2022 at 13:37:54 +0200, René-Luc Dhont via QGIS-Developer wrote:
> So I wonder what the role of the WMS Advertised extent is.
> * Is it only the root layer / group extent ?
> * Is it a restricted extent (no data available outside this extent) ?
> * Is it the minimum extent of all WMS layers ?
  * an (suggested) area of interest for clients.


Jürgen

-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Nordenhttps://www.norbit.de
QGIS release manager (PSC)  Germany IRC: jef on Libera|OFTC


signature.asc
Description: PGP signature
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


[QGIS-Developer] QGIS Server WMS Advertised extent and layers / groups bounding box in GetCapabilities

2022-10-04 Thread René-Luc Dhont via QGIS-Developer

Hi QGIS Server devs,

We, David and I, are working on enhancing the way QGIS Server is 
building the WMS GetCapabilities document. [1]


And I have some questions about the QGIS Server WMS Advertised extent 
and the layers / groups bounding box in GetCapabilities.


For exemple in the tests/testdata/qgis_server/test_project.qgs [2], the 
WMS Advertised extent is set to
* CRS="EPSG:4326" minx="44.901236" miny="8.203154"  maxx="44.901599" 
maxy="8.204165" [3][4]


And in this project, the WGS84 extent of the landsat layer is
* CRS="EPSG:4326" minx="30.151856" miny="17.924273" maxx="30.257289" 
maxy="18.045658" [5]


As you can read, the layer landsat is out of the WMS Advertised extent.

So the WMS GetCapabilities document contains a layer landsat with a 
bounding box outside the root layer / group bounding box.


I was thinking that the root layer / group bounding box should include 
all the layers bounding box.


So I wonder what the role of the WMS Advertised extent is.
* Is it only the root layer / group extent ?
* Is it a restricted extent (no data available outside this extent) ?
* Is it the minimum extent of all WMS layers ?

1. https://github.com/dmarteau/QGIS/tree/wms-getcapabilities-refactoring-2
2. 
https://github.com/qgis/QGIS/blob/master/tests/testdata/qgis_server/test_project.qgs
3. 
https://github.com/qgis/QGIS/blob/master/tests/testdata/qgis_server/test_project.qgs#L1818 

4. 
https://github.com/qgis/QGIS/blob/master/tests/testdata/qgis_server/wms_getcapabilities_rewriting.txt#L114
5. 
https://github.com/qgis/QGIS/blob/master/tests/testdata/qgis_server/wms_getcapabilities_rewriting.txt#L160


Thanks
René-Luc Dhont___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer