Zarr قالبی برای ذخیرهٔ آرایههای چندبُعدی دادههای علمی است. از ذخیرهسازی تکهای، فشردهسازی و دسترسی موازی پشتیبانی میکند. ایدهآل برای دادههای اقلیمی، سریهای زمانی ماهوارهای و دادههای مکانی.
ویژگیهای کلیدی

دربارهٔ قالب Zarr
Zarr is a format for storing large multidimensional arrays: the data is cut into chunks, and each chunk is compressed and stored separately. That is why an array is read in pieces, in parallel and straight from the cloud — S3, GCS or plain HTTP. In scientific data it is gradually displacing NetCDF and HDF5 precisely because of that cloud access.
An OpenStreetMap map is vector objects while Zarr is about arrays, so the export rasterizes the selected area into a regular grid. The format is taken when the map is needed not as a drawing but as a data layer next to climate data, satellite series or a computational model in xarray and Dask.
The archive holds a Zarr group of version two with two arrays: feature_count — how many OSM objects fell into the cell, and land_use — the code of the dominant layer in the cell. The group attributes record the coordinate system, the bounding box of the area, the grid step and the list of source layers; the data is split into 256 × 256 chunks and compressed (Blosc with Zstandard by default).
The default grid step is 0.001 degrees, about a hundred meters; over small areas it is refined automatically so that the result does not degenerate into a few cells. The grid size is limited to 10,000 × 10,000 cells. The format is in beta status: this is aggregated density and categories, not vector geometry — for that, go to GeoParquet or FlatGeobuf.
چه برنامهای فایلهای Zarr را باز میکند
برنامهها و نرمافزارهای زیر میتوانند فایلهای Zarr (beta) (.zarr.zip) صادرشده از OSM2CDR را باز و ویرایش کنند و با آنها کار کنند:
Format specifications
- Open standard
- 3D coordinates supported
- Lossless (no quality loss)
- Stores feature attributes
- Output: 32 files in archive
- Zarr v2 chunked N-dimensional array directory. Cloud-native alternative to NetCDF/HDF5. Reads in xarray, GDAL 3.1+.
چه کسانی از نقشههای Zarr استفاده میکنند
چگونه Zarr را خروجی بگیریم
نحوه باز کردن پس از خروجی
- Python — zarr.open(zarr.ZipStore('map.zarr.zip'), mode='r') reads the archive without unpacking; the feature_count and land_use arrays then behave like ordinary NumPy arrays.
- xarray and Dask — unpack the directory and open it through open_zarr: the arrays are computed chunk by chunk and do not require holding everything in memory.
- Attributes — the root group attributes hold the coordinate system, the bounding box of the area, the grid step and the list of layers; from them the geographic referencing of the cells is reconstructed.
- GDAL — modern versions open Zarr as a multidimensional raster, after which the set is converted to GeoTIFF with the standard utilities.
- A quick look — matplotlib over the land_use array gives a picture of the categories; if you need a familiar map, take GeoTIFF or PNG.
نقشههای محبوب در Zarr
خروجی نقشهٔ Zarr (beta) را دریافت کنید
نقشههای حرفهای Zarr را از OpenStreetMap دانلود کنید. تولید آنی برای هر ناحیه.
پرسشهای متداول
قالبهای مرتبط
قالبهایی که اغلب همراه با هم خروجی گرفته میشوند
Related Articles
Zarr — Cloud-Native Chunked Array Format for N-Dimensional Climate Data
Zarr is a chunked format for N-dimensional arrays: cloud-native HDF5/NetCDF alternative used by Pangeo, CMIP6, NASA ESA
guideZarr: A Multidimensional Format for Geodata
Zarr is a cloud-native format for multidimensional geodata storage. Chunked storage, compression, and Python xarray inte
formatGIS Data Formats in 2026: From Shapefile to Cloud-Native
GIS format overview: Shapefile, GeoPackage, FlatGeobuf, PMTiles, GeoParquet, COG — evolution and choice in 2026.