Cloud-Optimized GeoTIFF(COG)是一种栅格格式,用于瓦片的云端流式传输。文件内含内部瓦片和概视图,支持渐进式加载。非常适合云端 GIS、卫星影像和分析。
主要特点

关于 Cloud-Optimized GeoTIFF 格式
Cloud-Optimized GeoTIFF is an ordinary GeoTIFF, but laid out inside in such a way that it can be read piece by piece straight from the cloud. The file has internal tiles and a pyramid of reduced copies, so a client makes an HTTP request with a byte range and takes only the fragment it needs and only the scale it needs, without downloading the whole file.
The format is chosen when the map lives in cloud storage and is served to many consumers: a basemap for a web map, a layer in a cloud GIS, a raster for analytics. A single file on S3 replaces a whole tile server — readers take from it what they need themselves.
The output is a single .tif file: the map of the selected area is drawn into a raster and repacked into COG with GDAL. The internal tiles are 512 pixels, overview levels are built automatically with bilinear resampling, and the default compression is DEFLATE (LZW, ZSTD, JPEG and WebP are also available). Georeferencing is in WGS84, the resolution is chosen by a quality preset, and the raster side is capped so the file stays workable.
It is important to understand the nature of the file: these are pixels, not objects. There are no OSM attributes in it, and you cannot click a building and see its tags — for that you need vector formats.
打开 Cloud-Optimized GeoTIFF 文件的程序
以下程序可以打开、编辑和处理从 OSM2CDR 导出的 Cloud-Optimized GeoTIFF(.tif)文件:
格式规格
- 开放标准
- 仅 2D
- 无损(无质量损失)
- 无属性
- 输出:1 个文件
- Cloud-Optimised GeoTIFF (OGC). Internally tiled with overviews; HTTP range-request streaming via rio-tiler, GDAL/VSI, TiTiler.
谁在使用 Cloud-Optimized GeoTIFF 地图
如何导出 Cloud-Optimized GeoTIFF
导出后如何打开
- QGIS — Layer → Add Raster Layer; the file lands by its coordinates, and the overview levels make redrawing on zoom fast.
- Checking whether this is a real COG — the command rio cogeo validate map.tif, or gdalinfo, which will show the internal tiles and the list of overview levels.
- Cloud storage — upload the file to S3, Google Cloud Storage or Azure Blob and serve it over HTTPS: clients will read it in parts through range requests.
- TiTiler or rio-tiler — raise a tile service on top of the file in the cloud, without cutting tiles in advance.
- GDAL — gdal_translate repacks the raster into another compression or crops it to the extent you need, if the requirements of the receiving side differ.
Cloud-Optimized GeoTIFF 格式的热门地图
导出 Cloud-Optimized GeoTIFF 地图
从 OpenStreetMap 下载专业的 Cloud-Optimized GeoTIFF 地图。即时生成,任意区域。
常见问题
与其他格式比较
相关格式
经常一起导出
Related Articles
Cloud Optimized GeoTIFF (COG) — Cloud Raster OGC Standard: HTTP Range, Overviews, and OSM Export
COG — the cloud-native GeoTIFF evolution: 512px internal tiles, overview pyramids, HTTP range requests, OGC standard sin
guideZarr: A Multidimensional Format for Geodata
Zarr is a cloud-native format for multidimensional geodata storage. Chunked storage, compression, and Python xarray inte
guideGeoTIFF and COG: Raster Formats for GIS and Remote Sensing
What is GeoTIFF and Cloud Optimized GeoTIFF (COG), usage in QGIS and GDAL, exporting raster maps from OpenStreetMap.