Data_Formats_GRIDGeoTIFFShapeFile
一、GMTED2010 文档中关于数据格式的内容
1️⃣ Generalized Elevation Products – Seamless Global Coverage (GRID)
原文:
Global raster data are provided in the ESRI ArcGrid format. The grid defines geographic space as an array of equally sized square grid cells (pixels) arranged in rows and columns. Each grid cell stores a numeric value that represents a geographic attribute (such as elevation or surface slope) for that unit of space. Each grid cell is referenced by its x,y coordinate location. Many commercially available and freeware software packages can read the ArcGrid format. Detail about file names and sizes is provided in appendix 1. North of 84 degrees the void value is assigned to “NoData.”
原文意思:
全球栅格数据(raster data)是 ESRI ArcGrid 格式。
网格(grid)将地理空间划分为等大小的方格(像素),按行列排列。
每个格子存储一个数值,表示该格子对应的地理属性(比如高程或地表坡度)。
每个格子都有对应的 x, y 坐标。
大多数 GIS 软件(商业或免费)都能读取 ArcGrid 格式。
84°以北的区域用 “NoData” 表示空值。
小白解释:
- ArcGrid 格式:就是把地图切成一格一格的小方格,每格都有一个数值,比如 123 表示 123 米高程。
- 行列排列:就像 Excel 表格一样,每个格子都有坐标。
- 用途:方便 GIS 软件直接读出来做地图分析。
- NoData:表示这里没有数据,比如北极地区。
2️⃣ Generalized Elevation Products – Tile-Based (GeoTIFF Image Format)
原文:
All tiled raster data are provided in the GeoTIFF image format. GeoTIFF is an open source metadata standard which allows georeferencing information to be embedded within a TIFF raster image file. The additional information includes map projection, coordinate system, ellipsoid, datums, and everything else necessary to establish the exact spatial reference for the file. The GeoTIFF format is fully compliant with TIFF version 6.0, so software that does not read or interpret the specialized metadata will still be able to open a GeoTIFF image file. North of 84 degrees the void value is assigned to -32768.
原文意思:
瓦片化(tile-based)的栅格数据用 GeoTIFF 格式存储。
GeoTIFF 是一种开放的元数据标准,允许把地图投影、坐标系、大地基准等信息嵌入 TIFF 文件中。
即使软件不识别这些元数据,也能打开图像。
北纬 84°以上区域用 -32768 表示空值。
小白解释:
- GeoTIFF = 图片 + 地理信息。
- 图片部分就是地图格子,每格对应一个高程数值。
- 地理信息告诉软件这张图在地球上的位置、投影、坐标系。
- 瓦片化 = 把全球数据切成一块一块的小图(tile),便于下载和处理。
- 空值:高纬度区域用 -32768 表示没有数据。
3️⃣ Spatially Referenced Metadata (ESRI Shapefile Format)
原文:
The spatially referenced metadata are provided in the ESRI Shapefile format. The ESRI Shapefile is a vector data format developed and regulated by ESRI as an open specification for data interoperability among ESRI and other software products. A “shapefile” commonly refers to a collection of files with “.shp,” “.shx,” “.dbf,” and other extensions with a common prefix name. The actual vector data are stored in the file with the “.shp” extension; however, this file alone is incomplete for distribution because the other supporting files are required.
原文意思:
空间参考元数据用 ESRI Shapefile 格式。
Shapefile 是矢量数据格式,包括多个文件:.shp
(存储几何信息)、.shx
、.dbf
等。
这些文件组合在一起才能完整表示矢量数据。
小白解释:
- Shapefile = 点、线、面数据的集合,比如州界、河流。
- .shp 文件:存几何信息(位置、形状)。
- .shx、.dbf 等辅助文件:提供索引和属性信息。
- 注意:
.shp
文件单独是不能用的,必须配合其他文件一起用。
总结
数据类型 | 格式 | 特点 | 空值 |
---|---|---|---|
全球连续栅格 | ArcGrid | 等大小格子,高程/坡度 | NoData |
瓦片化栅格 | GeoTIFF | 图片 + 地理信息,可瓦片下载 | -32768 |
空间元数据 | Shapefile | 矢量点/线/面,需多个文件 | / |
💡 小白关键点:
- ArcGrid 和 GeoTIFF 都是栅格数据,每格都是一个高程数值。
- GeoTIFF 能记录地图坐标,ArcGrid 也能被 GIS 软件识别。
- Shapefile 是矢量数据,不是格子,是点/线/面。
- 空值的表示方式不同:NoData 或 -32768。
二、ArcGrid 和 GeoTIFF 的区别
1️⃣ 数据类型
- ArcGrid:栅格(Raster)数据,用 行列格子表示地图,每格存一个数值(如高程、坡度)。
- GeoTIFF:也是栅格数据,每格存一个数值,但它是 TIFF 图片文件 加上地理信息。
2️⃣ 文件格式
格式 | 存储方式 | 文件类型 |
---|---|---|
ArcGrid | 一行行存格子值 | 多个 ASCII 或二进制文件(文件夹里一堆 .adf 文件) |
GeoTIFF | 图片文件 + 地理信息嵌入 | 一个 .tif 文件(单文件即可) |
3️⃣ 是否自带地理信息
- ArcGrid:自带坐标系统,但有时候需要配合其他文件(hdr、prj)才能完全识别。
- GeoTIFF:地理信息嵌入 TIFF 文件里,非常方便,直接就能在 GIS 软件里对齐地图。
4️⃣ 使用便利性
- ArcGrid:老牌 GIS 格式,很多老软件支持。
- GeoTIFF:现代 GIS 和遥感软件更常用,兼容性好,文件单独就可以用。
5️⃣ 空值表示
- ArcGrid:用
NoData
表示没有数据的格子。 - GeoTIFF:通常用特定数值表示,比如 -32768。
小结(小白理解版)
- ArcGrid = 旧版格子地图,一堆小文件组成。
- GeoTIFF = 图片+地图坐标,单文件,更现代、方便。
- 两者都是栅格(格子)数据,只是存储方式和兼容软件不同。