gdal_translate crash

Markus Neteler neteler at i...
Thu Feb 7 05:43:43 EST 2002


Hi,

today we tried to convert a ESRI HDR coverage to GeoTIFF for 
MapServer usage:
ls dgm_20m/
dblbnd.adf hdr.adf log prj.adf sta.adf w001001.adf w001001x.adf

gdalinfo ./dgm_20m
Driver: AIG/Arc/Info Binary Grid
Size is 8184, 5159
Coordinate System is:
PROJCS["unnamed",
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",9],
PARAMETER["central_meridian",0],
PARAMETER["scale_factor",0.99964],
PARAMETER["false_easting",1500000],
PARAMETER["false_northing",0],
UNIT["METERS",1]]
Origin = (604160.000000,221420.000000)
Pixel Size = (20.000000,-20.000000)
Corner Coordinates:
Upper Left ( 604160.000, 221420.000)
Lower Left ( 604160.000, 118240.000)
Upper Right ( 767840.000, 221420.000)
Lower Right ( 767840.000, 118240.000)
Center ( 686000.000, 169830.000)
Band 1 Block=256x4 Type=Float32, ColorInterp=Undefined
Min=194.364/1, Max=3893.104/1
NoData Value=65536

Translating it:

gdal_translate -co "TILED=YES" -of GTiff -ot Byte dgm_20m dgm20_bolz.tif
Size is 8184, 5159
0.Band 1 Type = 6
..10...20...30...40...50...60...70...80...90...100 - done.
Segmentation fault (core dumped)

ls -l dgm20_bol*
-rw-r--r-- 1 fauna uxbgroup 44045726 Feb 7 11:23 dgm20_bolz.tif

It crashes obviously when writing the .tfw file.

We also tried to directly specify the coverage in MapServer. The
outline of map is visible, but all colors are white and a few
pixels of grey. 

Little lost with this problem,
looking forward assistance,
thanks,

Markus Neteler






More information about the Gdal-dev mailing list