<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Another option is a fuse level driver that maps cloud storage to a drive path. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Mike<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>-- <o:p></o:p></p><div><p class=MsoNormal>Michael Smith<o:p></o:p></p><p class=MsoNormal>US Army Corps of Engineers<o:p></o:p></p></div><p class=MsoNormal>Remote Sensing/GIS Center<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:12.0pt;color:black'>From: </span></b><span style='font-size:12.0pt;color:black'>gdal-dev <gdal-dev-bounces@lists.osgeo.org> on behalf of Travis Kirstine <traviskirstine@gmail.com><br><b>Date: </b>Friday, September 4, 2020 at 8:35 AM<br><b>To: </b>gdal dev <gdal-dev@lists.osgeo.org><br><b>Subject: </b>Re: [gdal-dev] Serve COG images - GEE & Google Cloud Storage<o:p></o:p></span></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>There is a good article here on how to do this using MapServer and S3, this may work for Google as well<o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal><a href="https://github.com/mapserver/mapserver/wiki/Render-images-straight-out-of-S3-with-the-vsicurl-driver">https://github.com/mapserver/mapserver/wiki/Render-images-straight-out-of-S3-with-the-vsicurl-driver</a><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>You can configure MapServer as a WMS server and add the layers to Open Layers or take the extra step and configure MapCache to generate a tiled output and caching using your WMS as source <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Fri, 4 Sep 2020 at 03:01, Even Rouault <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</a>> wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'>Arun,<o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'> <o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'>Not sure this completely answer your question, but GDAL has gained a<o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'>Google Cloud Storage virtual file system handler similar<o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'>to the AWS S3 one since the post you mention.<o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'>See <a href="https://gdal.org/user/virtual_file_systems.html#vsigs-google-cloud-storage-files" target="_blank">https://gdal.org/user/virtual_file_systems.html#vsigs-google-cloud-storage-files</a><o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'> <o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'>Even<o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'> <o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'>> Hi<o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'>> In this article, I came across about servicing rasters on AWS S3:<o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'>> <a href="https://www.azavea.com/blog/2019/04/23/using-cloud-optimized-geotiffs-cogs/" target="_blank">https://www.azavea.com/blog/2019/04/23/using-cloud-optimized-geotiffs-cogs/</a><o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'>> , <a href="https://lists.osgeo.org/pipermail/gdal-dev/2015-October/042975.html" target="_blank">https://lists.osgeo.org/pipermail/gdal-dev/2015-October/042975.html</a><o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'>> <o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'>> I am trying to see if something similar exists for Google? I'm exporting<o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'>> COG from Google Earth Engine (GEE) to a Google Cloud Storage bucket in the<o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'>> hopes to access and serve it with other layers using GeoServer or create<o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'>> tile map services. I've many dates and many products (true color, false<o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'>> color, ndvi) for many sites. So I'm not sure what's the best way to serve<o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'>> them. I tried researching online, asking in StackExchange, GeoServer and<o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'>> GEE forums and reaching out to a few people, but I couldn't get specific<o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'>> info... Most info is on AWS and S3...<o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'>> <o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'>> My requirement is to somehow get the images of "GEE to bucket" exported<o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'>> images into Openlayers (web mapping) and JavaScript (frontend). GEE can<o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'>> export to my Drive or a GCP bucket. So serving from GEE to GCP to S3 means<o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'>> some download, unzip, zip and upload - so more time consuming and manual<o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'>> steps. In my experience, AWS was costly (as my EC2 runs all the time) than<o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'>> a VPS server...<o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'>> <o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'>> I'll appreciate your help. Thank you!<o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'> <o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'> <o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'>-- <o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'>Spatialys - Geospatial professional services<o:p></o:p></span></p><p style='margin:0in'><span style='font-size:9.0pt;font-family:"Courier New"'><a href="http://www.spatialys.com" target="_blank">http://www.spatialys.com</a><o:p></o:p></span></p></div><p class=MsoNormal>_______________________________________________<br>gdal-dev mailing list<br><a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br><a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><o:p></o:p></p></blockquote></div><p class=MsoNormal>_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev<o:p></o:p></p></div></body></html>