[gdal-dev] gdal translate error converting ArcGRID binary to ASCII
punk.kish at gmail.com
Sat May 31 15:20:37 EDT 2008
On 5/31/08, William Kyngesburye <woklist at kyngchaos.com> wrote:
> On May 31, 2008, at 1:25 PM, P Kishor wrote:
> > [01:45 PM] ~/Data/climate_change/cartagena_arcgrid$ ls
> > 76980974\76980974\dblbnd.adf* 76980974\76980974\prj.adf*
> > 76980974\76980974\w001001.adf*
> > 76980974\76980974\hdr.adf* 76980974\76980974\sta.adf*
> > 76980974\76980974\w001001x.adf*
> > [01:46 PM] ~/Data/climate_change/cartagena_arcgrid$
> gdal_translate -of
> > AAIGrid 76980974\\76980974\\w001001.adf out.grd
> > ERROR 4: `76980974\76980974\w001001.adf' not recognised as a supported
> > file format.
> > GDALOpen failed - 4
> > `76980974\76980974\w001001.adf' not recognised as a supported file format.
> > I am on an Intel Macbook Pro with Mac OS X 10.5.3.
> One possibility is the backslashes - I see that often when downloading a
> zip made on Windows and they expand into a flat file layout, but they
> indicate a directory and file structure that GDAL may be expecting. Try
> removing the prefix of 'folders' from all the file names so it looks like:
> and put it in a folder named '76980974'.
I suspected as such, but instead of putting all of them in a single
folder, I built a folder hierarchy as suggested by the back slashes (I
am not really conversant with the ArcGRID file/folder structure).
I will flatten the list and try it again.
More information about the gdal-dev