<div dir="auto">I don't remember more than i wrote in comments and i don't know if it is still necessary. Better to keep it i think, but it could be done optional.<div dir="auto"><br></div><div dir="auto">Radim</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Oct 15, 2018 01:54, "Nyall Dawson" <<a href="mailto:nyall.dawson@gmail.com">nyall.dawson@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, 12 Oct 2018 at 20:48, Richard Duivenvoorde <<a href="mailto:rdmailings@duif.net">rdmailings@duif.net</a>> wrote:<br>
> which is the whole of the Netherlands (in a 10x10 pixel output??) and<br>
> after that a more proper bbox.<br>
<br>
I can't explain the background here, but it seems deliberate. There's<br>
a comment before this request is made:<br>
<br>
"<br>
  // It may happen (GeoServer) that extent reported in<br>
spatialDomain.Envelope is larger<br>
  // than the coverage. Then if that larger BBOX is requested, the<br>
server returns<br>
  // request BBOX intersected with coverage box scaled to requested<br>
WIDTH and HEIGHT.<br>
  // GDAL WCS client does not suffer from this probably because it<br>
probably takes<br>
  // extent from lonLatEnvelope (it probably does not calculate it from<br>
  // spatialDomain.RectifiedGrid because calculated value is slightly<br>
different).<br>
<br>
  // To get the true extent (it can also be smaller than real if<br>
reported Envelope is<br>
  // than real smaller, but smaller is safer because data cannot be<br>
shifted) we make<br>
  // request of the whole extent cut the extent from spatialDomain.Envelope if<br>
  // necessary"<br>
<br>
 getCache( 1, mCoverageExtent, 10, 10 );<br>
<br>
<br>
Radim may know more and may be able to explain if this workaround is<br>
still necessary<br>
<br>
<br>
Nyall<br>
<br>
><br>
> Is this supposed to go like this?<br>
> I reckon that (if the WCS data does not have overviews), loading the<br>
> whole dataset all the time is pretty intensive.<br>
><br>
> Anybody more familiar with this can tell something about this?<br>
><br>
> Regards,<br>
><br>
> Richard Duivenvoorde<br>
> ______________________________<wbr>_________________<br>
> QGIS-Developer mailing list<br>
> <a href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a><br>
> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br>
> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br>
</blockquote></div></div>