Hi Vincent, Even. 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.
On Fri, Apr 23, 2021 at 7:34 AM Vincent Schut <sc...@satelligence.com> wrote: > Thanks for confirming, Even. That doesn't look too difficult. I'll give it > a try. > > On 4/23/21 3:09 PM, Even Rouault wrote: > > I guess you should add something similar to > https://github.com/OSGeo/gdal/commit/3623f9c91a2c513af204d30fe25314dbe5c7b9be > for /vsigs > Le 23/04/2021 à 14:59, Vincent Schut a écrit : > > On 4/23/21 2:17 PM, Vincent Schut wrote: > > 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? > > To clarify this a bit: writing works: > > 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 > > and the file is correctly created in the bucket. However, when I want to > open it, it fails: > > gdalinfo -if tiledb > gcs://s11-dev-vincent-tiledb-test-public/S2B_MSIL1C_20210227T032659_N0209_R018_T47MQV_20210227T072433.tiledb > ERROR 4: > gcs://s11-dev-vincent-tiledb-test-public/S2B_MSIL1C_20210227T032659_N0209_R018_T47MQV_20210227T072433.tiledb: > No such file or directory > gdalinfo failed - unable to open > 'gcs://s11-dev-vincent-tiledb-test-public/S2B_MSIL1C_20210227T032659_N0209_R018_T47MQV_20210227T072433.tiledb'. > > Is there any way to correctly specify this tiledb url on gcs for gdal? > > Vincent. > > -- Sean Gillies
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev