Esri grid
An Esri grid is a raster GIS file format developed by Esri, which has two formats:
- A proprietary binary format, also known as an ARC/INFO GRID, ARC GRID and many other variations
- A non-proprietary ASCII format, also known as an ARC/INFO ASCII GRID
The grid defines geographic space as an array of equally sized square grid points arranged in rows and columns. Each grid point stores a numeric value that represents a geographic attribute for that unit of space. Each grid cell is referenced by its x,y coordinate location.
File formats
ASCII
In Esri grid data, the first six lines indicate the reference of the grid, followed by the values listed in "English reading order". For example, consider a grid, shown to the left. This could be encoded into an ASCII grid file, that would look like:where
ncolsandnrowsare the numbers of columns and rows, respectively ;xllcornerandyllcornerare the western x-coordinate and southern y-coordinates, such as easting and northing,- *when the data points are cell-centered
xllcenterandyllcenterare used to indicate such registration. cellsizeis the length of one side of a square cell ; and,nodata_valueis the value that is regarded as "missing" or "not applicable"; this line is optional, but highly recommended as some programs expect this line to be declared.