[gdal-dev] how to use tiledb datasets on gcs?

Vincent Schut schut at satelligence.com
Fri Apr 23 05:59:12 PDT 2021


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.
>
> -- 
>
> 	
>
> Vincent Schut
>
> Remote Sensing Software Engineer
>
> +31 302272679 ~ Maliebaan 22 | 3581CP | Utrecht | Netherlands
>
> Linkedin <https://www.linkedin.com/company/satelligence/>~ 
> satelligence.com 
> <http://www.satelligence.com><http://www.satelligence.com>
>

-- 

	

Vincent Schut

Remote Sensing Software Engineer

+31 302272679 ~ Maliebaan 22 | 3581CP | Utrecht | Netherlands

Linkedin <https://www.linkedin.com/company/satelligence/>~ 
satelligence.com <http://www.satelligence.com><http://www.satelligence.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210423/d7a892f6/attachment.html>


More information about the gdal-dev mailing list