<div dir="ltr"><div dir="ltr"></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 9, 2019 at 12:08 PM René-Luc Dhont <<a href="mailto:rldhont@gmail.com" target="_blank">rldhont@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Andreas<br>
<br>
Le 09/05/2019 à 11:59, Andreas Neumann a écrit :<br>
> Hi René-Luc,<br>
><br>
> Thanks for the explanation. Any chance we can "influence" that extent <br>
> calculation (e.g. adding a user-defined margin to that extent?) - I <br>
> guess a fully manual override would not be satisfactory as data <br>
> changes, but adding a user-defined margin to that extent might help <br>
> for both issues we have.<br>
><br>
> Also, this fact that layer extents are stored in QGIS worries me quite <br>
> a bit. We live in a GDI where any minute data can be changed by any <br>
> client (QGIS, ArcGIS, Geomedia, you name it). What if Geomedia adds <br>
> features outside of the layer extent that is stored in the QGIS <br>
> project, would that data then be ignored by QGIS server, because it is <br>
> outside of the extent stored in the project file in QGIS?<br>
<br>
Yes, new features outside the extent will be ignored by QGIS Server and <br>
QGIS Desktop if the user does not recalculate the layer extent.<br>
<br>
><br>
> Anyway - I would rather have global bounding boxes for all layers <br>
> (defined globally per project) than some calculated exents stored in a <br>
> QGIS project file that might be outdated quite easily, because other <br>
> GIS edit the data meanwhile. I am not worried about bounding boxes <br>
> being too big, but worried about bounding boxes that hide away <br>
> existing data.<br>
><br>
> Andreas<br>
><br>
<br>
We, a customer and I, would like to add the ability to define manually <br>
the extent for each layer. The extent could be calculated, based on the <br>
CRS and modified by user.<br>
Do you think, could it be a solution ?<br>
</blockquote><div><br></div>That depends on whether the "<BoundingBox>" tag in the WMS GetCapabilities reponse is meant to be the layer's extent or the features's extent.</div><div class="gmail_quote"><br></div><div class="gmail_quote">If it's the latter, we should not advertise an extent which is differed from the extent of the features contained in the layer.<br clear="all"></div><div><br></div><div><br></div>-- <br><div dir="ltr" class="m_8536316716982358703gmail_signature">Alessandro Pasotti<br>w3:   <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div></div>