To exchange data one should preferably use a non-proprietary format, such as the ARC/INFO ASCII GRID or GeoTIFF. Unfortunately, it still happens that data is distributed in a proprietary binary format.
One of the most widely used ones is the binary ESRI ARC/INFO GRID. Of course if you have ArcView or ArcGIS you can use these to convert the ARC/INFO GRID to an ARC/INFO ASCII GRID. But what about the others?
Well, as it turns out, GDAL, which is used by GRASS GIS, QGIS and many other GIS software packages, can open the binary ESRI ARC/INFO grids also. All you have to know is where to find the actual raster file.
ESRI GRID rasters are stored in folders which contain one Info subdirectory and a subdirectory for each GRID. Each GRID subdirectory contains several files that store geographic location and the actual raster data for the corresponding grid. See this FAQ on the ESRI support page for more details.
For example, the grid layer ‘AfClim’ lives in the directory ‘AfClim’ and has the following component files:
- w001001.adf –> this file contains the actual raster data
In QGIS you can simply open the file w001001.adf using the normal ‘open raster layer’ dialogue (make sure you select ‘All other files’ in the file type selector box). You may have to change the symbology in the raster layer properties (double click on the just imported layer in the Layers panel), try e.g., the pseudocolor Color map.
Note that, as far as I can tell, gdal can not read the projection information so QGIS assumes the raster is in the same projection as your Project. If it is not, find out the projection of the ESRI raster you want to import and set the Project projection accordingly.
In GRASS GIS, you can use the GUI to import the raster layer. Use the ‘Multipe import formats using GDAL’ option:
And select the w001001.adf file
Make sure the projection of your location/mapset is the same as the raster layer you want to import and to check the checkbox ‘Override projection (use location’s projection)’ under the ‘Optional’ tab.
Of course you can also simply type:
r.in.gdal -o input=/home/pbreugel/Documents/Data/AfClim/w001001.adf output=AfClim in the GRASS GIS console.
For more information, check out: