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

Even Rouault even.rouault at spatialys.com
Sat Apr 29 08:07:05 PDT 2023


Hi Michael,

Fixed per https://github.com/OSGeo/gdal/pull/7659

Even

Le 24/04/2023 à 05:09, Michael Sumner a écrit :
>
> 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
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev

-- 
http://www.spatialys.com
My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20230429/8209390e/attachment-0001.htm>


More information about the gdal-dev mailing list