[gdal-dev] accessing zip files by URL

Joaquim Luis jluis at ualg.pt
Thu Mar 24 11:18:47 EDT 2011


Hi,

How do we access to a compressed files by URL? We can do that, can't we?

As an example I try this (on Windows)

gdalinfo 
/vsizip/C:\http://dds.cr.usgs.gov/srtm/version2_1/SRTM30/w020n90/w020n90.dem.zip
ERROR 4: 
`/vsizip/C:\http://dds.cr.usgs.gov/srtm/version2_1/SRTM30/w020n90/w020n90.dem.zip' 
does not exist in the file system,
and is not recognised as a supported dataset name.

and this

gdalinfo 
/vsizip//http://dds.cr.usgs.gov/srtm/version2_1/SRTM30/w020n90/w020n90.dem.zip

but the error message is similar.

The idea is to fetch the data directly into GMT, but first I need to 
understand well how it works.

Thanks

Joaquim Luis


More information about the gdal-dev mailing list