Re: [gdal-dev] GeoTIFF and LZWDecode (LZWEncode?) errors

2013-07-11 Thread Even Rouault
Le jeudi 11 juillet 2013 15:56:56, Casper Børgesen (CABO) a écrit : > Hi Even. > > I cannot reproduce the error, it just occurs when I'm batch processing and > not necessarily at the same place/file. That's why I asked for experience. > However, when I get the error again, I can provide the corrup

Re: [gdal-dev] ogr2ogr bug with dwg file

2013-07-11 Thread Even Rouault
Le jeudi 11 juillet 2013 09:33:36, Xian Chen a écrit : > Hi all, > > Finally I've got a chance to report something after one-month silence as a > newcomer in the community. > After running ogr2ogr (on Windows 7) to convert a dwg file into shape > files, I received an error message as follows: > /

Re: [gdal-dev] closing file descriptors when using python bindings and HDF5 datasets

2013-07-11 Thread Even Rouault
Le jeudi 11 juillet 2013 13:33:55, Ricardo Filipe Soares Garcia da a écrit : > Hi all > > I am working with HDF5 files and the python bindings to GDAL. I can't seem > to get Python to close the file descriptor whenever I open an HDF5. > > It seems to work fine when I use a geotiff, but not with H

[gdal-dev] How can I translate MODIS04_L2 AOT as ENVY Modis conversion toolkit?

2013-07-11 Thread yuchan
Hello every body. I've a MODIS04 L2, and I want to extract band 8:Image_Optical_Depth_Land_And_Ocean. I use Quantum GIS to open this band, because Quantum GIS see this is not coordinates so this allow me to select projection as below: +proj=utm +zone=50 +ellps=WGS84 +datum=WGS84 +units=m +no_defs

Re: [gdal-dev] GeoTIFF and LZWDecode (LZWEncode?) errors

2013-07-11 Thread CABO
Hi Even. I cannot reproduce the error, it just occurs when I'm batch processing and not necessarily at the same place/file. That's why I asked for experience. However, when I get the error again, I can provide the corrupted file and then its possible to see that ex. Gdal_translate doesn't set E

Re: [gdal-dev] GeoTIFF and LZWDecode (LZWEncode?) errors

2013-07-11 Thread Even Rouault
Casper, I'm not sure to have understood if you have this problem while reading or generating compressed files. Could you provide a way (that is to say provide both the input data and the command line used) of reproducing this ? Best regards, Even > Hi > > When batch processing GeoTIFF files, I

[gdal-dev] GeoTIFF and LZWDecode (LZWEncode?) errors

2013-07-11 Thread CABO
Hi When batch processing GeoTIFF files, I tend to get this problem a bit too often: Warning 1: LZWDecode:LZWDecode: Strip 11 not terminated with EOI code ERROR 1: LZWDecode:Not enough data at scanline 11 (short 30 bytes) ERROR 1: TIFFReadEncodedStrip() failed. band 1: IReadBlock failed at X offs

[gdal-dev] closing file descriptors when using python bindings and HDF5 datasets

2013-07-11 Thread Ricardo Filipe Soares Garcia da
Hi all I am working with HDF5 files and the python bindings to GDAL. I can't seem to get Python to close the file descriptor whenever I open an HDF5. It seems to work fine when I use a geotiff, but not with HDF5. I am using GDAL 1.9.2 on Ubuntu 13.04. I think this is a bug but I'd like some conf

[gdal-dev] ogr2ogr bug with dwg file

2013-07-11 Thread Xian Chen
Hi all, Finally I've got a chance to report something after one-month silence as a newcomer in the community. After running ogr2ogr (on Windows 7) to convert a dwg file into shape files, I received an error message as follows: /Warning 6: Normalized/laundered field name: 'ExtendedEntity' to 'E