Re: [gdal-dev] Read image from zip with python and GDAL

2012-07-03 Thread Etienne Tourigny
sion > GDAL 1.9.0, released 2011/12/29 > > Why can that happen? > Thank you! > > Anton > > - Original Message - > From: Even Rouault > [mailto:even.roua...@mines-paris.org] > To: Marc Padilla Parellada > [mailto:padilla.m...@gmail.com] > Cc: gdal-dev@lists.osgeo.or

Re: [gdal-dev] Read image from zip with python and GDAL

2012-07-03 Thread Anton Korosov
gdal-dev@lists.osgeo.org Sent: Tue, 03 Jul 2012 18:23:38 +0100 Subject: Re: [gdal-dev] Read image from zip with python and GDAL > Selon Marc Padilla Parellada : > > > Hello, > > > > > > I would like to read raster files stored within a zip file with python and &

Re: [gdal-dev] Read image from zip with python and GDAL

2012-07-03 Thread Even Rouault
Selon Marc Padilla Parellada : > Hello, > > > I would like to read raster files stored within a zip file with python and > GDAL. Something like this: > > Try this instead : data=gdal.Open("/vsizip/file.zip/image.tif") See http://trac.osgeo.org/gdal/wiki/UserDocs/ReadInZip __

[gdal-dev] Read image from zip with python and GDAL

2012-07-03 Thread Marc Padilla Parellada
Hello, I would like to read raster files stored within a zip file with python and GDAL. Something like this: data=gdal.Open(“file.zip/image.tif”) I have many zipped images stored in an external hard disk with slow transfer connection; hence I would like to read them without unzipping. I wou