Function: parseGeoZarrMetadata()
parseGeoZarrMetadata(
attrs):GeoZarrMetadata
Defined in: parse.ts:20
Parse zarr-conventions metadata from group attributes.
Supports both single-resolution Zarr (no multiscales) and multi-resolution.
Array sizes are read from spatial:shape in the attributes (either at the
top level for single-resolution, or per layout item for multiscales).
Levels in the returned GeoZarrMetadata are ordered finest-first (natural
Zarr order, matching the multiscales layout array). Reverse to get
coarsest-first for TilesetDescriptor.
Parameters
attrs
unknown
Raw group attributes object (e.g. from zarrita group.attrs).
Returns
Throws
If required conventions (spatial, geo-proj) are missing or invalid, or if spatial:shape is absent where required.