<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Sean,</p>
    <p>my understanding of the commit is that internally the tiledb SDK
      handles cloud storage by itself (ie not relying on GDAL virtual
      file systems) and using s3:// / gcs:// naming conventions, and the
      purpose of the below referenced commit is, for the GDALOpen() code
      path, to remap /vsis3/ to s3:// , since that's what tiledb SDK
      expects. But Norman might better comment on.</p>
    <p>Even<br>
    </p>
    <div class="moz-cite-prefix">Le 23/04/2021 à 16:14, Sean Gillies a
      écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CADPhZXythax5J6bzURc+H6Nq=5-N3hQCm=B3C1mptOWxzonBzg@mail.gmail.com">
      <div dir="ltr">
        <div>Hi Vincent, Even.</div>
        <div><br>
        </div>
        <div>Why would we do this when /vsigcs/... should work? Letting
          individual drivers set their own conventions for dataset names
          seems, to me, to hurt long-term maintenance and
          interoperability.</div>
        <br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">On Fri, Apr 23, 2021 at 7:34
            AM Vincent Schut <<a href="mailto:schut@satelligence.com"
              moz-do-not-send="true">schut@satelligence.com</a>>
            wrote:<br>
          </div>
          <blockquote class="gmail_quote">
            <div> Thanks for confirming, Even. That doesn't look too
              difficult. I'll give it a try.<br>
              <br>
              <div>On 4/23/21 3:09 PM, Even Rouault wrote:<br>
              </div>
              <blockquote type="cite">
                <p>I guess you should add something similar to <a
href="https://github.com/OSGeo/gdal/commit/3623f9c91a2c513af204d30fe25314dbe5c7b9be"
                    target="_blank" moz-do-not-send="true">https://github.com/OSGeo/gdal/commit/3623f9c91a2c513af204d30fe25314dbe5c7b9be</a>
                  for /vsigs<br>
                </p>
                <div>Le 23/04/2021 à 14:59, Vincent Schut a écrit :<br>
                </div>
                <blockquote type="cite"> On 4/23/21 2:17 PM, Vincent
                  Schut wrote:<br>
                  <blockquote type="cite"> Hi, how should I specify a
                    tiledb dataset's url that resides on gcs (google
                    cloud storage) to gdal? I've tried several
                    combinations of gcs://, /vsigs/, prefixed with
                    TILEDB:// or not, but no luck. I've looked in the
                    driver source, and apparently there is only a
                    /vsis3/ -> tiledb uri translation, but no
                    equivalent gcs one?<br>
                    <br>
                  </blockquote>
                  To clarify this a bit: writing works:<br>
                  <br>
                  gdal_translate -of tiledb -co COMPRESSION=ZSTD
                  S2B_MSIL1C_20210227T032659_N0209_R018_T47MQV_20210227T072433.tif
gcs://s11-dev-vincent-tiledb-test-public/S2B_MSIL1C_20210227T032659_N0209_R018_T47MQV_20210227T072433.tiledb<br>
                  <br>
                  and the file is correctly created in the bucket.
                  However, when I want to open it, it fails:<br>
                  <br>
                  gdalinfo -if tiledb
gcs://s11-dev-vincent-tiledb-test-public/S2B_MSIL1C_20210227T032659_N0209_R018_T47MQV_20210227T072433.tiledb<br>
                  ERROR 4:
gcs://s11-dev-vincent-tiledb-test-public/S2B_MSIL1C_20210227T032659_N0209_R018_T47MQV_20210227T072433.tiledb:
                  No such file or directory<br>
                  gdalinfo failed - unable to open
'gcs://s11-dev-vincent-tiledb-test-public/S2B_MSIL1C_20210227T032659_N0209_R018_T47MQV_20210227T072433.tiledb'.<br>
                  <br>
                  Is there any way to correctly specify this tiledb url
                  on gcs for gdal?<br>
                  <br>
                  Vincent.</blockquote>
              </blockquote>
            </div>
          </blockquote>
        </div>
        -- <br>
        <div dir="ltr" class="gmail_signature">
          <div dir="ltr">Sean Gillies</div>
        </div>
      </div>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
  </body>
</html>