[Gdal-dev] ESRI ASCII GRID File Header Info
Jason M. Nielsen
jnielsen at aero-graphics.com
Fri Aug 6 15:15:41 EDT 2004
Quoting Reinaldo Escada Chohfi <rec at geodesign.com.br>:
> Folks,
>
> Does anyone have the specification of the header portion
> of a ESRI ASCII GRID file? How does one specify pixel
> number to class name and colors?
>
> Also, what is the file extension for this file?
>
> Thanks,
>
> Reinaldo
Line #
1 Number of columns in raster
2 Number of rows in Raster
3 X coordinate of lower-left corner of file.
4 Y coordinate of the lower-left corner of file.
5 Cell size of the grid.
6 Numeric value to use as the indicator of "no data" in a pixel.
7-Elevation values.
Starting at the top left corner of the raster.
Space-separated numeric and proceeding from values) left to right. One line
for each row in the raster.
Example:
----------
ncols 5
nrows 4
xllcorner 1248100
yllcorner 1229750
cellsize 25
NODATA_value 9999
661 661 670 679 691
701 702 703 703 703
703 703 702 702 702
Source of information:
British Columbia
Specifications and Guidelines for Geomatics:
Gridded Digital Elevation Model
Product Specifications
Edition: 2.0
December, 2002
More information about the Gdal-dev
mailing list