[gdal-dev] [EXTERNAL] Re: vsis3 worldfile support?
Cechini, Matthew F. (GSFC-423.0)[Science Systems & Applications, Inc.]
matthew.f.cechini at nasa.gov
Tue Apr 27 07:53:53 PDT 2021
Ah, I found the problem. Looks like it was loading the world file, but the file had an error in it. Using that CPL_VSIL… parameter helped verify that the file was being read:
$ gdalinfo --config CPL_VSIL_CURL_ALLOWED_EXTENSIONS ".png" /vsis3/bucket/prefix/test_pal.png
ERROR 4: CSLLoad2("/vsis3/bucket/prefix/test_pal.pgw") failed: unable to open file.
ERROR 4: CSLLoad2("/vsis3/bucket/prefix/test_pal.wld") failed: unable to open file.
Thanks,
Matt
.................................................................
Matthew Cechini
Contractor, Science Systems and Applications, Inc.
NASA GIBS Systems/Software Engineer
410.205.6272
From: Even Rouault <even.rouault at spatialys.com>
Date: Tuesday, April 27, 2021 at 10:20 AM
To: Matthew Cechini <matthew.f.cechini at nasa.gov>, "gdal-dev at lists.osgeo.org" <gdal-dev at lists.osgeo.org>
Subject: [EXTERNAL] Re: [gdal-dev] vsis3 worldfile support?
Matt,
I've just tested and this works for me. Can't think of a reason besides a permission problem with the .pgw/.wld files, or if you've set the CPL_VSIL_CURL_ALLOWED_EXTENSIONS configuration option to "png"
Even
Le 27/04/2021 à 16:04, Cechini, Matthew F. (GSFC-423.0)[Science Systems & Applications, Inc.] via gdal-dev a écrit :
Using GDAL 2.4.4, I’m attempting to read a PNG file in S3 with this prefix: /vsis3/bucket/prefix/image.png. Alongside that object are also image.pgw an image.wld objects (same content). When I run gdalinfo on the /vsis3 path, I’m not seeing the geolocation information. Am I doing something wrong? Do I need a new version? Is this a known limitation?
Thanks,
Matt
.................................................................
Matthew Cechini
Contractor, Science Systems and Applications, Inc.
NASA GIBS Systems/Software Engineer
410.205.6272
_______________________________________________
gdal-dev mailing list
gdal-dev at lists.osgeo.org<mailto:gdal-dev at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/gdal-dev<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fgdal-dev&data=04%7C01%7Cmatthew.f.cechini%40nasa.gov%7C7d5262a53a684312f10b08d909879f10%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C637551300362703001%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=70fKEFPR3jwFrlWWnPm3bDmdWjoFGQSJsg5skTYHgzo%3D&reserved=0>
--
http://www.spatialys.com<https://gcc02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.spatialys.com%2F&data=04%7C01%7Cmatthew.f.cechini%40nasa.gov%7C7d5262a53a684312f10b08d909879f10%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C637551300362703001%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Q%2BufPEWlgujx2z39abr07BsxEC7eqWZqLY3zepYI%2Bd0%3D&reserved=0>
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/20210427/382657e3/attachment-0001.html>
More information about the gdal-dev
mailing list