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

Michael Sumner mdsumner at gmail.com
Sat Apr 29 16:33:25 PDT 2023


Thank you.

Cheers, Mike



On Sun, Apr 30, 2023 at 1:07 AM Even Rouault <even.rouault at spatialys.com>
wrote:

> 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 listgdal-dev at lists.osgeo.orghttps://lists.osgeo.org/mailman/listinfo/gdal-dev
>
> -- http://www.spatialys.com
> My software is free, but my time generally not.
>
>

-- 
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/20230430/0f46edec/attachment.htm>


More information about the gdal-dev mailing list