<div dir="ltr">Hi Even,<br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 15, 2018 at 2:48 PM, Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@spatialys.com" target="_blank">even.rouault@spatialys.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Sean,<br>
<span class=""><br>
> <br>
> I have a GeoTIFF in S3 and am trying to access it via a VRT. I'm<br>
> constructing the VRT in Python and then passing the string directly to GDAL<br>
> like<br>
> <br>
> GDALOpenEx("<VRTDataset>...</<wbr>VRTDataset>", ...)<br>
> <br>
> I'm getting the results I expect, but very slowly. In my logs, it seems<br>
> that GDAL is fetching the entire GeoTIFF and copying it to /vsimem/ before<br>
> reading any data.<br>
<br>
</span>In your VRT, you use a filename starting by "http://", and this will be <br>
handled by the historic HTTP "driver", that downloads the whole file, before <br>
passing it to the final driver that can handle it.<br>
<br>
You just need to prefix the filename with /vsicurl/<br>
<span class="HOEnZb"><font color="#888888"><br>
Even<br></font></span></blockquote><div><br></div><div>Indeed, that was it! Thank you.</div><div><br></div></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Sean Gillies</div></div>
</div></div>