[Gdal-dev] ArcInfo Grid Read Error
Shannon Scott
sscott at gwi.net
Thu Apr 1 07:14:01 EST 2004
Hello,
I am new to gdal, so please forgive my ignorance.
I am trying to convert some ArcInfo Grid data to a tif.
I have been trying to use gdal_translate, but I get the following error.
$ gdal_translate -of GTiff dem24k_int test1.tif
Input file size is 20943, 21754
0...10..ERROR 1: Read of 1030 bytes from offset 1260810 for grid block
failed.
ERROR 1: IReadBlock failed at X offset 33, Y offset 896
ERROR 1: GetBlockRef failed at X block offset 33, Y block offset 896
I also tried the -not_strict optin, but got the same error. Is there
any way to "clean" the ArcInfo Grid ( assuming it has bad data ). Has
anyone else had this problem?
Any help, thoughts, or advice are greatly appreciated.
Thank you.
Shannnon
Fedora Core1
Gdal 1.1.9
The AI Grid was described using gdalinfo as follows:
$ gdalinfo dem24k_int
Driver: AIG/Arc/Info Binary Grid
Size is 20943, 21754
Coordinate System is:
PROJCS["UTM Zone 19, Northern Hemisphere",
GEOGCS["NAD83",
DATUM["North_American_Datum_1983",
SPHEROID["GRS 1980",6378137,298.257222101,
AUTHORITY["EPSG","7019"]],
TOWGS84[0,0,0,0,0,0,0],
AUTHORITY["EPSG","6269"]],
PRIMEM["Greenwich",0,
AUTHORITY["EPSG","8901"]],
UNIT["degree",0.0174532925199433,
AUTHORITY["EPSG","9108"]],
AXIS["Lat",NORTH],
AXIS["Long",EAST],
AUTHORITY["EPSG","4269"]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",0],
PARAMETER["central_meridian",-69],
PARAMETER["scale_factor",0.9996],
PARAMETER["false_easting",500000],
PARAMETER["false_northing",0],
UNIT["METERS",1]]
Origin = (222599.658591,5350291.151122)
Pixel Size = (30.000000,-30.000000)
Corner Coordinates:
Upper Left ( 222599.659, 5350291.151) ( 72d44'12.32"W, 48d14'42.22"N)
Lower Left ( 222599.659, 4697671.151) ( 72d22'10.46"W, 42d22'54.51"N)
Upper Right ( 850889.659, 5350291.151) ( 64d16'35.13"W, 48d12'31.28"N)
Lower Right ( 850889.659, 4697671.151) ( 64d44'23.64"W, 42d21'7.68"N)
Center ( 536744.659, 5023981.151) ( 68d31'50.78"W, 45d22'6.17"N)
Band 1 Block=256x4 Type=Int16, ColorInterp=Undefined
Min=0.000 Max=1601.000
NoData Value=-32768
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20040401/1c4e81d1/attachment.html
More information about the Gdal-dev
mailing list