stac_coverage_check
Verifies if cached scenes fully cover a target bounding box before mosaicking. Returns coverage percentage and identifies uncovered areas.
Instructions
Check if cached scenes fully cover a requested bounding box.
Rasterizes the target bbox into a grid and checks which cells are covered by the provided scenes. Useful for planning mosaics to ensure gap-free coverage.
Args: bbox: Target bounding box [west, south, east, north] in EPSG:4326 scene_ids: Scene identifiers (must be cached from prior stac_search calls) output_mode: Response format - "json" (default) or "text"
Returns: JSON with coverage percentage and uncovered areas
Tips for LLMs: - Call this before stac_mosaic to verify scenes fully cover your area of interest - If coverage is less than 100%, search for more scenes or widen the date range to find additional tiles - Scenes must have been found by a prior stac_search call
Example: check = await stac_coverage_check( bbox=[0.8, 51.8, 1.0, 51.95], scene_ids=["S2B_...", "S2A_..."] )
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | Yes | ||
| scene_ids | Yes | ||
| output_mode | No | json |