[Gdal-dev] (no subject)
Maciek Sieczka
werchowyna at pf.pl
Tue Oct 19 16:04:09 EDT 2004
on an old CVS GDAL (1.2.1.0, released 2004/08/27) I'm getting following
troubles
fixed in a newer version? (sorry for bugging you then!)
a segfault on deflate compression in gdal_warp and gdal_merge.py:
[ziutek at localhost ziutek]$ gdal_merge.py -o krnap_cmp.tif -of GTiff -co
COMPRESS=DEFLATE ~/danecz/ZABAGED2/*.tif
Segmentation fault
no support for PackBits (and same for LZW)
[ziutek at localhost ziutek]$ gdal_merge.py -o krnap_cmp.tif -of GTiff -co
COMPRESS=PACKBITS ~/danecz/ZABAGED2/*.tif
ERROR 1: krnap_cmp.tif:PackBits compression support is not configured
(...)
a troble with JPEG compression
[ziutek at localhost ziutek]$ gdal_merge.py -o krnap_cmp.tif -of GTiff -co
COMPRESS=JPEG ~/danecz/ZABAGED2/*.tif
python: tif_jpeg.c:651: JPEGPreDecode: Assertion
`sp->cinfo.comm.is_decompressor' failed.
Aborted
and with gcps2wld.py
[ziutek at localhost ziutek]$ gcps2wld.py /home/ziutek/Desktop/krnap.tif
Traceback (most recent call last):
File "/usr/local/bin/gcps2wld.py", line 63, in ?
print geotransform[1]
TypeError: unsubscriptable object[ziutek at localhost ziutek]$
gdalinfo on the problematic file (negative values because it's a S-JTSK
Krovak East North projection, epsg <102067>):
[ziutek at localhost ziutek]$ gdalinfo /home/ziutek/Desktop/krnap.tif
Driver: GTiff/GeoTIFF
Size is 14173, 6299
Coordinate System is `'
Origin = (-650000.635000,-977999.365000)
Pixel Size = (1.27000000,-1.27000000)
Corner Coordinates:
Upper Left ( -650000.635, -977999.365)
Lower Left ( -650000.635, -985999.095)
Upper Right ( -632000.925, -977999.365)
Lower Right ( -632000.925, -985999.095)
Center ( -641000.780, -981999.230)
Band 1 Block=14173x1 Type=Byte, ColorInterp=Red
Band 2 Block=14173x1 Type=Byte, ColorInterp=Green
Band 3 Block=14173x1 Type=Byte, ColorInterp=Blue
Maciek
More information about the Gdal-dev
mailing list