[gdal-dev] GDALOpenShared: warning about "filename" vs "description"

Michael Sumner mdsumner at gmail.com
Sun Apr 23 20:09:10 PDT 2023


When invoking  info on this vrt connection

gdalinfo "vrt://
https://herbariumnsw-pds.s3-ap-southeast-2.amazonaws.com/images/NSW041500.jp2?a_ullr=0,9661,7180,0"


I see this warning

Warning 6: A dataset opened by GDALOpenShared should have the same filename
(
https://herbariumnsw-pds.s3-ap-southeast-2.amazonaws.com/images/NSW041500.jp2)
and description (/vsimem/http_1/NSW041500.jp2)

The warning seems unreasonable given that we are quite far from a
"filename" for a dsn? There's no warning on the bare url or with /vsicurl:

gdalinfo
https://herbariumnsw-pds.s3-ap-southeast-2.amazonaws.com/images/NSW041500.jp2

gdalinfo  /vsicurl/
https://herbariumnsw-pds.s3-ap-southeast-2.amazonaws.com/images/NSW041500.jp2

## GDAL version and provenance

Ubuntu 20.04

GDAL 3.7.0dev-717dcc0eed, released 2023/04/22 (debug build)




-- 
Michael Sumner
Software and Database Engineer
Australian Antarctic Division
Hobart, Australia
e-mail: mdsumner at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20230424/12fae463/attachment.htm>


More information about the gdal-dev mailing list