[QGIS-Developer] QGIS WCS is requesting FULL dataset?
Radim Blazek
radim.blazek at gmail.com
Mon Oct 15 02:27:26 PDT 2018
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.
Radim
On Oct 15, 2018 01:54, "Nyall Dawson" <nyall.dawson at gmail.com> wrote:
> On Fri, 12 Oct 2018 at 20:48, Richard Duivenvoorde <rdmailings at duif.net>
> wrote:
> > which is the whole of the Netherlands (in a 10x10 pixel output??) and
> > after that a more proper bbox.
>
> I can't explain the background here, but it seems deliberate. There's
> a comment before this request is made:
>
> "
> // It may happen (GeoServer) that extent reported in
> spatialDomain.Envelope is larger
> // than the coverage. Then if that larger BBOX is requested, the
> server returns
> // request BBOX intersected with coverage box scaled to requested
> WIDTH and HEIGHT.
> // GDAL WCS client does not suffer from this probably because it
> probably takes
> // extent from lonLatEnvelope (it probably does not calculate it from
> // spatialDomain.RectifiedGrid because calculated value is slightly
> different).
>
> // To get the true extent (it can also be smaller than real if
> reported Envelope is
> // than real smaller, but smaller is safer because data cannot be
> shifted) we make
> // request of the whole extent cut the extent from
> spatialDomain.Envelope if
> // necessary"
>
> getCache( 1, mCoverageExtent, 10, 10 );
>
>
> Radim may know more and may be able to explain if this workaround is
> still necessary
>
>
> Nyall
>
> >
> > Is this supposed to go like this?
> > I reckon that (if the WCS data does not have overviews), loading the
> > whole dataset all the time is pretty intensive.
> >
> > Anybody more familiar with this can tell something about this?
> >
> > Regards,
> >
> > Richard Duivenvoorde
> > _______________________________________________
> > QGIS-Developer mailing list
> > QGIS-Developer at lists.osgeo.org
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20181015/21336acd/attachment-0001.html>
More information about the QGIS-Developer
mailing list