[gdal-dev] Re: [GDAL] #2447: Attempt to read past EOF ... dtm000082/../info/arc.dir (GDAL 1.5.1 does not read projection info from arcgrid)

Jonathan Wagner jonathan at jonathanwagner.net
Tue Jul 1 18:13:30 EDT 2008


Anyone have a clue as to the resolution of this.  It only occurs in Linux
and occurs in 1.5.x as well as SVN trunk.

Here's a sample file that it fails on (~47 MB).

http://stuff.jonathanwagner.net/srtm.tar.bz2

Jonathan

Sample output:

$ ./bin/gdalinfo ~/Work/Elevation/SRTM/SRTM90_ESRI/srtm_n30_w110
ERROR 3: Attempt to read past EOF in
/home/flightgear/Work/Elevation/SRTM/SRTM90_ESRI/srtm_n30_w110/../info/arc.dir.
ERROR 4: Failed to open table srtm_n30_w110.VAT
Driver: AIG/Arc/Info Binary Grid
Files: /home/flightgear/Work/Elevation/SRTM/SRTM90_ESRI/srtm_n30_w110
       /home/flightgear/Work/Elevation/SRTM/SRTM90_ESRI/srtm_n30_w110.aux
      
/home/flightgear/Work/Elevation/SRTM/SRTM90_ESRI/srtm_n30_w110/sta.adf
      
/home/flightgear/Work/Elevation/SRTM/SRTM90_ESRI/srtm_n30_w110/hdr.adf
      
/home/flightgear/Work/Elevation/SRTM/SRTM90_ESRI/srtm_n30_w110/dblbnd.adf
       /home/flightgear/Work/Elevation/SRTM/SRTM90_ESRI/srtm_n30_w110/log
      
/home/flightgear/Work/Elevation/SRTM/SRTM90_ESRI/srtm_n30_w110/w001001.adf
      
/home/flightgear/Work/Elevation/SRTM/SRTM90_ESRI/srtm_n30_w110/w001001x.adf
      
/home/flightgear/Work/Elevation/SRTM/SRTM90_ESRI/srtm_n30_w110/metadata.xml
Size is 12001, 12001
Coordinate System is `'
Origin = (-120.000416666700005,40.000416666633001)
Pixel Size = (0.000833333333000,-0.000833333333000)
Corner Coordinates:
Upper Left  (-120.0004167,  40.0004167)
Lower Left  (-120.0004167,  29.9995833)
Upper Right (-109.9995833,  40.0004167)
Lower Right (-109.9995833,  29.9995833)
Center      (-115.0000000,  35.0000000)
Band 1 Block=376x4 Type=Float32, ColorInterp=Undefined
  Min=-126.000 Max=4409.000
  NoData Value=-3.4028234663852886e+38
  Metadata:
    LAYER_TYPE=athematic


On Tue, 01 Jul 2008 21:06:29 -0000, "GDAL" <trac at osgeo.org> wrote:
> #2447: Attempt to read past EOF ... dtm000082/../info/arc.dir (GDAL 1.5.1
> does not
> read projection info from arcgrid)
>
-------------------------+--------------------------------------------------
>  Reporter:  neteler      |        Owner:  warmerdam
>      Type:  defect       |       Status:  new      
>  Priority:  normal       |    Milestone:           
> Component:  GDAL_Raster  |      Version:  svn-trunk
>  Severity:  normal       |   Resolution:           
>  Keywords:               |  
>
-------------------------+--------------------------------------------------
> Changes (by jwagner):
> 
>   * summary:  Attempt to read past EOF ... dtm000082/../info/arc.dir =>
>               Attempt to read past EOF ...
>               dtm000082/../info/arc.dir (GDAL 1.5.1 does not
>               read projection info from arcgrid)
> 
> Comment:
> 
>  I'm seeing the same output here on some SRTM files.  Also, this problem
>  only occurs on Linux and not Windows and only fails on ArcGrid Info
> files,
>  not GeoTIFF.  It doesn't seem to effect the raster data I/O, but fails
> to
>  read the projection.  Also of note is that data downloaded from the USGS
>  Seamless server does not fail.
> 
>  Here's a SRTM file which fails should be public domain (47MB):
>  [http://stuff.jonathanwagner.net/srtm.tar.bz2]
> 
>
-- 
--
Jonathan Wagner


More information about the gdal-dev mailing list