Introduction
The Esri ASCII raster, also called ARC/INFO ASCII Grid, is a plain-text form of a
raster grid used for exchange and export. ArcGIS Pro writes it with the extension
.asc by default.
Structure
A header of keywords comes first: NCOLS, NROWS,
XLLCORNER or XLLCENTER, YLLCORNER or
YLLCENTER, CELLSIZE and the optional
NODATA_VALUE, which defaults to -9999. The cell values follow, separated
by spaces, in row-major order starting with the top row. Line breaks between rows are
not required, since NCOLS says where each row ends.
Not described
This page is a first outline.
Known, not yet covered
- Reference: number formats, the accompanying projection file and the additions other programs accept.
- Viewer: the site has no viewer for this format.
Also used for
- 3ds Max ASCII export, older .asc – The text scene export of 3ds Max: materials, meshes, cameras, lights and animation.
- OpenPGP key (armoured) – PGP and GnuPG keys: OpenPGP packets, as binary or base64 armour.
Links
Software
- ArcGIS Pro – its Raster to ASCII tool writes these files
- GDAL – has a driver for the ASCII grid
Reference
- Raster to ASCII – Esri’s tool reference, with the file layout
- ASCII Grid Format Description – Oak Ridge National Laboratory
- Esri grid – Wikipedia’s summary