<div dir="ltr">Robert,<div><br></div><div>I've done some variations on this.</div><div><br></div><div>I'd encourage you to watch a video by Mark Korver on this topic from FOSS4G: <a href="http://vimeo.com/106833852">http://vimeo.com/106833852</a></div><div><br></div><div>I used his NAIP bucket in "requestor-pays" mode successfully.  One thing that I ended up doing when reading the metadata was to use the vsicurl driver to access the tiffs, so only the required portions were fetched.  His example actually mounts the whole bucket as a file system in which case things are much easier.  </div><div><br></div><div>I will note that when using vsicurl to access GeoTIFFs in S3 I found I had to set the following configuration variables to get it working.</div><div><br></div><div><div>    # Various /vsicurl hackery to get it working with signed aws urls well</div><div>    gdal.SetConfigOption('CPL_VSIL_CURL_ALLOWED_EXTENSIONS', 'ter')</div><div>    gdal.SetConfigOption('GDAL_DISABLE_READDIR_ON_OPEN', 'YES')</div><div>    gdal.SetConfigOption('CPL_VSIL_CURL_USE_HEAD', 'NO')</div></div><div><br></div><div>I do quite a bit of stuff here with MapServer from S3, but I usually fetch from S3 and store in /tmp for serving so by the time MapServer sees the file it is completely normal.</div><div><br></div><div>Best regards,</div><div>Frank</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 4, 2014 at 2:56 PM, Robert Sanson <span dir="ltr"><<a href="mailto:Robert.Sanson@asurequality.com" target="_blank">Robert.Sanson@asurequality.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Does anyone have experience with using Amazon S3 to store GeoTIffs for use as a back-end datastore accessible by Mapserver in order to create a WMS service?<br>
<br>
Thanks,<br>
<br>
Robert Sanson<br>
<br>
<br>
Robert Sanson Veterinary Epidemiologist<br>
Batchelar Centre | Tennent Drive | Palmerston North<br>
PO Box 585 | Palmerston North 4440 | New Zealand<br>
p. <a href="tel:%2B64%206%20351%207990" value="+6463517990">+64 6 351 7990</a> | m. <a href="tel:%2B64%2021%20448%20472" value="+6421448472">+64 21 448 472</a> | f. <a href="tel:%2B64%206%20351%207919" value="+6463517919">+64 6 351 7919</a><br>
e. <a href="mailto:robert.sanson@asurequality.com">robert.sanson@asurequality.com</a><br>
<br>
Global experts in food safety and quality | <a href="http://www.asurequality.com" target="_blank">www.asurequality.com</a><br>
<br>
<br>
<br>
<br>
This email and any attachments are confidential and intended solely for the addressee(s). If you are not the intended recipient, please notify us immediately and then delete this email from your system.<br>
<br>
This message has been scanned for Malware and Viruses by Websense Hosted Security.<br>
<a href="http://www.websense.com" target="_blank">www.websense.com</a><br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>---------------------------------------+--------------------------------------<br>I set the clouds in motion - turn up   | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a><br>light and sound - activate the windows | <a href="http://pobox.com/~warmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>and watch the world go round - Rush    | Geospatial Software Developer<br>
</div>