aliasfox/copernicus-glo30-chunks
收藏资源简介:
--- license: other license_name: copernicus license_link: https://copernicus.eu/user-license task_categories: - other tags: - elevation - dem - copernicus - terrain - geospatial size_categories: - 100K<n<1M --- # Copernicus GLO-30 DEM Chunks Global Digital Elevation Model (DEM) tiles from the Copernicus GLO-30 dataset, pre-processed into 256x256 chunks in OZCHNK01 merged format for efficient web serving. ## Source Copernicus DEM GLO-30 (30-meter resolution) from the European Space Agency. Original COG tiles downloaded from AWS Open Data: https://copernicus-dem-30m.s3.eu-central-1.amazonaws.com/ ## License Copernicus Licence (free for most uses). See: https://copernicus.eu/user-license ## Format Binary merged format (OZCHNK01): - **Magic**: 8 bytes "OZCHNK01" - **Version**: 2 (Copernicus = Float32) - **Grid**: Variable ROWS x COLS (depends on tile dimensions) - **Index**: Array of [4-byte offset, 4-byte size] per chunk - **Data**: Concatenated zlib-compressed 256x256 Float32 chunks ### Tile Grid - Internal COG tiles: 1024x1024 pixels - Each split into 4x4 = 16 chunks of 256x256 - Edge tiles may have fewer chunks - Data type: Float32 (4 bytes/pixel) ### File Naming Files are organized by latitude band: - Path: `{lat_dir}/{basename}.merged` - Example: `N00/COPDEM_N00_00_E006_00_DEM.merged` ## Coverage Global land areas at 30m resolution (~90GB total, ~26,450 tiles). ## Usage For use with OpenZenith elevation API. Each merged file contains all 256x256 chunks for one Copernicus tile, allowing efficient range requests to fetch individual chunks. To read a chunk: 1. Open the merged file 2. Read the 12-byte header (magic + version + rows + cols) 3. Read the index: rows*cols entries of [offset, size] 4. Seek to the chunk offset, read size bytes 5. Decompress with zlib to get 256x256 Float32 pixel data 6. Elevation value = float32 at row*256 + col
许可证类型:其他 许可证名称:哥白尼(Copernicus) 许可证链接:https://copernicus.eu/user-license 任务类别:其他 标签:高程、数字高程模型(Digital Elevation Model, DEM)、哥白尼、地形、地理空间 样本量范围:10万 < 样本量 < 100万 # 哥白尼GLO-30数字高程模型分块数据集 该数据集包含来自哥白尼GLO-30数据集的全球数字高程模型(Digital Elevation Model, DEM)瓦片,已预处理为OZCHNK01合并格式的256×256分块,以适配高效的Web服务。 ## 数据源 该数据集源自欧洲空间局(European Space Agency, ESA)的哥白尼GLO-30(30米分辨率)数字高程模型。原始云优化GeoTIFF(Cloud Optimized GeoTIFF, COG)瓦片从亚马逊云科技(Amazon Web Services, AWS)开放数据平台下载,下载地址为:https://copernicus-dem-30m.s3.eu-central-1.amazonaws.com/ ## 授权协议 采用哥白尼许可协议,适用于绝大多数使用场景。详细授权条款参见:https://copernicus.eu/user-license ## 数据格式 采用二进制合并格式(OZCHNK01): - **魔数**:8字节字符串"OZCHNK01" - **版本号**:2(针对哥白尼数据集,数据类型为Float32) - **网格尺寸**:可变行数×列数(取决于原始瓦片的尺寸) - **索引表**:由[4字节偏移量、4字节大小]组成的数组,对应每个分块 - **数据体**:经zlib压缩的256×256 Float32分块的拼接结果 ### 瓦片网格规则 - 原始COG瓦片尺寸为1024×1024像素 - 每张原始瓦片被拆分为4×4共16个256×256分块 - 边缘瓦片的分块数量可能少于16 - 数据类型:Float32(每个像素占用4字节) ### 文件命名规则 数据集按纬度带进行组织: - 文件路径格式:`{lat_dir}/{basename}.merged` - 示例路径:`N00/COPDEM_N00_00_E006_00_DEM.merged` ## 覆盖范围 覆盖全球陆地区域,分辨率为30米,总数据量约90GB,包含约26450张原始瓦片。 ## 使用说明 该数据集适配OpenZenith高程API使用。每个合并文件包含单张哥白尼瓦片的全部256×256分块,支持高效的范围请求以获取指定分块。 读取单个分块的步骤如下: 1. 打开合并文件 2. 读取12字节的文件头(包含魔数、版本号、行数、列数) 3. 读取索引表:共rows×cols条[偏移量、大小]记录 4. 定位至目标分块的偏移量处,读取对应大小的字节数据 5. 使用zlib解压得到256×256的Float32像素数据 6. 高程值计算公式:像素高程值 = float32数组中第`row×256 + col`位的数值



