ESRI ASCII Grid is the common text format for an ELEVATION GRID: a six-line header (NCOLS, NROWS, XLLCORNER, YLLCORNER, CELLSIZE, NODATA_VALUE) followed by space-separated numbers. Every cell value IS the elevation in METRES above sea level with one decimal — not a colour, not a shadow, not an image pixel. Heights come from the global Copernicus DEM GLO-30: about a 30 m step, vertical accuracy ~2–4 m. The grid is clipped exactly to the area you ordered, written in the coordinate system you chose, and empty cells carry NODATA_value -9999. Delivery is a ZIP holding exactly two files: map.asc and map.prj with the coordinate system (the .asc itself has nowhere to declare it). An honest caveat: over the sea GLO-30 returns exactly 0 m rather than emptiness — that is the behaviour of the elevation source, not a fault of the export. Text is bulkier than a binary raster, so the grid has a ceiling of 4 million cells: a larger area is coarsened just enough to fit, and the new step is stated as a number. It opens in a plain text editor, ArcGIS, QGIS, GRASS, GDAL, R, rasterio, Surfer and Civil 3D. This is pre-design, GIS and visualisation — not a land survey.
OpenStreetMap data as of 26 October 2026 · 18 days ago
主要特点

关于 ASCII Grid 格式
ESRI ASCII Grid is the simplest of the raster formats: six header lines (the number of columns and rows, the coordinates of the lower left corner, the cell size, the NODATA value) and then a grid of numbers separated by spaces. The file reads in any text editor and is parsed by five lines of code in any language, which is why it is still used in academic pipelines and for long-term storage.
The format is chosen when what matters is not efficiency but portability and transparency: a supplement to an article, a dataset in a repository, an input grid for GRASS, R or rasterio, an exchange with a colleague who has no GIS. Everything in the file is visible to the eye — nothing is hidden in a binary structure.
The output is a ZIP archive with two files: map.asc with the grid of values and map.prj with the description of the coordinate system. It is done that way because the .asc itself does not store the projection, and without it a GIS will not put the grid in its place. The cells hold ELEVATIONS in metres above sea level with one decimal: a clip of the global Copernicus DEM GLO-30 exactly to the area you ordered, about a 30 m step, vertical accuracy ~2-4 m; cells without coverage get -9999. Over the sea the source returns exactly 0 m rather than emptiness — that is how it behaves, and we do not hide it.
打开 ASCII Grid 文件的程序
以下程序可以打开、编辑和处理从 OSM2CDR 导出的 ESRI ASCII Grid (.asc)(.asc)文件:
格式规格
- 开放标准
- 支持 3D 坐标
- 无损(无质量损失)
- 无属性
- 输出:归档中 2 个文件
- A ZIP with exactly two files: map.asc (six-line AAIGrid header plus cell values that ARE elevation in metres, one decimal, NODATA_value -9999) and map.prj with the coordinate system; heights from Copernicus DEM GLO-30 (~30 m cell, vertical accuracy ~2-4 m), 0 m over the sea because that is what the source returns.
谁在使用 ASCII Grid 地图
如何导出 ASCII Grid
导出后如何打开
- Unpack the archive — keep map.asc and map.prj in the same folder and with the same name, otherwise the GIS will not find the coordinate system.
- QGIS — Layer → Add Raster Layer → pick the .asc; the grid lands in its place, because the extent and the cell size are written in the header.
- GDAL — gdalinfo map.asc shows the header and the extent, and gdal_translate converts the grid into GeoTIFF if you need a compact binary version.
- R and Python — terra::rast() or rasterio.open() read the format directly; if you like, the grid can be loaded with plain numpy, skipping the six header lines.
- A text editor — Notepad++ or any other will open the file to check the header; for large areas pick an editor that handles big files.
导出 ESRI ASCII Grid (.asc) 地图
从 OpenStreetMap 下载专业的 ASCII Grid 地图。任意区域,付款前即可看到价格。