<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/31 thomas bonfort <span dir="ltr"><<a href="mailto:thomas.bonfort@gmail.com" target="_blank">thomas.bonfort@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Steve,<br>
This function is called to produce the capabilities document, in order<br>
to provide the client with information as to what the extent for each<br>
layer is. The provided patch is wanted/usefull, because some clients<br>
(namely qgis) are smart and will not request layers for extents that<br>
are outside the advertised extents; in the case where the advertized<br>
extents are incorrect then you can imagine that this leads to<br>
difficult to debug unexpected behavior. On the other hand, the<br>
provided patch is problematic because it may cause capabilities<br>
requests to take minutes or more to complete given that the st_extent<br>
call may take ages to complete. The simple workaround is to add an<br>
EXTENT to each layer, however this requires a manual intervention and<br>
was not needed beforehand.<br>
<br></blockquote><div><br></div><div>That was not needed by the Postgis driver, but needed for the other drivers where getExtent has already been implemented. I would not agree to keep this kind of differences between the drivers. Either have this implemented for all or for none of them.</div>
<div><br></div><div>As far as I can see in the discussion, a global setting to disable the driver extent calculation for the GetCapabilities request would be a good consensus, isn't it?</div><div><br></div><div><br></div>
<div>Tamas</div><div><br></div></div></div></div>