Hi Even,
On Fri, Jun 15, 2018 at 2:48 PM, Even Rouault <[email protected]>
wrote:
> Hi Sean,
>
> >
> > I have a GeoTIFF in S3 and am trying to access it via a VRT. I'm
> > constructing the VRT in Python and then passing the string directly to
> GDAL
> > like
> >
> > GDALOpenEx("<VRTDataset>...</VRTDataset>", ...)
> >
> > I'm getting the results I expect, but very slowly. In my logs, it seems
> > that GDAL is fetching the entire GeoTIFF and copying it to /vsimem/
> before
> > reading any data.
>
> In your VRT, you use a filename starting by "http://", and this will be
> handled by the historic HTTP "driver", that downloads the whole file,
> before
> passing it to the final driver that can handle it.
>
> You just need to prefix the filename with /vsicurl/
>
> Even
>
Indeed, that was it! Thank you.
--
Sean Gillies
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev