parse_stac#
- parse_stac(stac_uri: str, item_limit: int | None = None) list[dict] [source]#
Parse a STAC catalog JSON file to extract label URIs, images URIs, and AOIs.
Note: This has been tested to be compatible with STAC version 1.0.0 but not any other versions.
- Parameters:
- Returns:
A list of dicts with keys: “label_uri”, “image_uris”, “label_bbox”, “image_bbox”, “bboxes_intersect”, and “aoi_geometry”. Each dict corresponds to one label item and its associated image assets in the STAC catalog.
- Return type: