[gdal-dev] vsizip & vsigzip on Win

Joaquim Luis jluis at ualg.pt
Sun Aug 8 20:40:15 EDT 2010


Sorry for the noise. I found that the correct syntax is

gdalinfo /vsizip/c:\m_gmt_so\tmp\N37W008.hgt.zip\N37W008.hgt

and like that it works fine.

Joaquim

> Hi,
>
> I'm trying to access ziped files on Windows using the /vsizip but it 
> fails most of times
>
> According to docs, this should work no?
>
> gdalinfo c:/vsizip/m_gmt_so/tmp/N37W008.hgt.zip/N37W008.hgt
>
> but it doesn't. I get
> ERROR 4: `c:/vsizip/m_gmt_so/tmp/N37W008.hgt.zip/N37W008.hgt' does not 
> exist in the file system,
> and is not recognised as a supported dataset name.
>
> However, I'm able to make it work by using the unix pathname syntax
>
> gdalinfo /vsizip/m_gmt_so/tmp/N37W008.hgt.zip/N37W008.hgt
>
> but even this only works when I run the command from the root dir, 
> that is from C:\
> If run it from any another location I get the same error message.
>
> Joaquim Luis
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
>



More information about the gdal-dev mailing list