[gdal-dev] vsizip & vsigzip on Win

2010-08-08 Thread Joaquim Luis

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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev


Re: [gdal-dev] vsizip & vsigzip on Win

2010-08-08 Thread Joaquim Luis

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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev




___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev