Hi,

I'm puzzled with this behavior of the vsi* functions

The first call that uses vsigzip because file is gzipped /vsigzip/vsicurl/http:.../...30S.ACE2.gz gives an error. However, if I remove the the '/vsigzip' than the command runs fine and I'm able to access the file.

Is this intended (it took me quite a while to figure this out)?

Joaquim

gdalinfo /vsigzip/vsicurl/http://tethys.eaprs.cse.dmu.ac.uk/ACE2/links/ACE2_30_SECONDS/ACE2_30S_BOTH/30N015W_BOTH_30S.ACE2.gz ERROR 4: `/vsigzip/vsicurl/http://tethys.eaprs.cse.dmu.ac.uk/ACE2/links/ACE2_30_SECONDS/ACE2_30S_BOTH/30N015W_BOTH_30S.ACE2.gz' does not exist in the file system,
and is not recognised as a supported dataset name.

gdalinfo failed - unable to open '/vsigzip/vsicurl/http://tethys.eaprs.cse.dmu.ac.uk/ACE2/links/ACE2_30_SECONDS/ACE2_30S_BOTH/30N015W_BOTH_30S.ACE2.gz'.


This works fine:

gdalinfo /vsicurl/http://tethys.eaprs.cse.dmu.ac.uk/ACE2/links/ACE2_30_SECONDS/ACE2_30S_BOTH/30N015W_BOTH_30S.ACE2.gz
Driver: ACE2/ACE2
Files: /vsicurl/http://tethys.eaprs.cse.dmu.ac.uk/ACE2/links/ACE2_30_SECONDS/ACE2_30S_BOTH/30N015W_BOTH_30S.ACE2.gz
Size is 1800, 1800
Coordinate System is:
GEOGCS["WGS 84",
....
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to