Opened 19 years ago
Last modified 16 years ago
#910 closed defect
ESRI ASCII GRIDS: Error reading last line — at Initial Version
Reported by: | Owned by: | warmerdam | |
---|---|---|---|
Priority: | normal | Milestone: | 1.5.0 |
Component: | GDAL_Raster | Version: | unspecified |
Severity: | normal | Keywords: | AAIGrid |
Cc: | warmerdam |
Description
When reading ACII Grid files with ncols 1201/nrows 1201 I get the following errors: gdalinfo -mm <gridname.grd>: ERROR 3: Token too long at scanline 1200. ERROR 1: IReadBlock failed at X offset 0, Y offset 1200 I found out that these errors are reported if the last line of values is not ended with a new line (carriage return/line feed?) After pressing return key after the last line the file can be read as expected. It seems that only GDAL has problems with these files.
Note:
See TracTickets
for help on using tickets.