yes you are demanding a bit too much to the simple HTTP driver (the one
that kicks in with http:// without /vsicurl/ prefixing). It just
dowloads the content pointed by the URL , put in in a /vsimem/ file and
then let other drivers try to recognize that. The logic to query side
car files can't work there because the PNG driver will try to open
/vsimem/something.png.aux.xml .
Le 31/10/2025 à 05:26, Michael Sumner via gdal-dev a écrit :
> Should it be picking that up, or is that too much to ask with the
/vsi* protocol?
I meant to say: ' Should it be picking that up, or is that too much
to ask *without* the /vsi* protocol?'
On Fri, Oct 31, 2025 at 3:21 PM Michael Sumner <[email protected]> wrote:
I've noticed that a sidecar .aux.xml for a PNG is not picked up on
a bare url:
gdal.Open("https://projects.pawsey.org.au/geotar0/sentinel-2-c1-l2a/2023/01/03/Macquarie_Island_Station_2023-01-03.png").GetGeoTransform()
(0.0, 1.0, 0.0, 0.0, 0.0, 1.0)
gdal.Open("/vsicurl/https://projects.pawsey.org.au/geotar0/sentinel-2-c1-l2a/2023/01/03/Macquarie_Island_Station_2023-01-03.png").GetGeoTransform()
(-3000.0, 10.0, 0.0, 3000.0, 0.0, -10.0)
Should it be picking that up, or is that too much to ask with the
/vsi* protocol? (I don't have an opinion, just vaguely expected
that it would find the sidecar file without /vsi*).
Cheers, Mike
--
Michael Sumner
Ordinary Member, Streets People Love Hobart Association
Research Software Engineer
Australian Antarctic Division
Hobart, Australia
0438489030
e-mail: [email protected]
--
Michael Sumner
Ordinary Member, Streets People Love Hobart Association
Research Software Engineer
Australian Antarctic Division
Hobart, Australia
0438489030
e-mail: [email protected]
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
--
http://www.spatialys.com
My software is free, but my time generally not.
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev