Sentinel-2 STAC search service & scene resolver API (/api/satellite/scene) #69

Closed
opened 2026-10-14 22:28:41 +00:00 by yuris · 0 comments
Owner

What to build

Integrate the Microsoft Planetary Computer / Earth Search STAC API to search and retrieve near-real-time 10-meter Sentinel-2 L2A optical satellite passes covering active fire clusters across Indonesia.

Technical specifications

  1. Target files:
    • src/lib/services/sentinel.ts: STAC API client querying collection sentinel-2-l2a.
    • src/app/api/satellite/scene/route.ts: Edge route returning latest cloud-free scene URLs (< 20% cloud cover) for a given bounding box.
  2. Parameters:
    • Date range: Last 10 days from current date.
    • Bands: True Color (TCI) and SWIR (B12, B8A, B04).

Acceptance criteria

  • Querying coordinates of an active fire returns the latest Sentinel-2 scene ID and tile endpoints.
  • Automatic fallback to Landsat 8/9 if Sentinel-2 cloud cover exceeds threshold.

Authoritative Specifications & Reference Documentation

### What to build Integrate the Microsoft Planetary Computer / Earth Search STAC API to search and retrieve near-real-time 10-meter Sentinel-2 L2A optical satellite passes covering active fire clusters across Indonesia. ### Technical specifications 1. **Target files**: - `src/lib/services/sentinel.ts`: STAC API client querying collection `sentinel-2-l2a`. - `src/app/api/satellite/scene/route.ts`: Edge route returning latest cloud-free scene URLs (< 20% cloud cover) for a given bounding box. 2. **Parameters**: - Date range: Last 10 days from current date. - Bands: True Color (TCI) and SWIR (B12, B8A, B04). ### Acceptance criteria - [x] Querying coordinates of an active fire returns the latest Sentinel-2 scene ID and tile endpoints. - [x] Automatic fallback to Landsat 8/9 if Sentinel-2 cloud cover exceeds threshold. --- ### Authoritative Specifications & Reference Documentation - **Titik Gambut Architecture & Subsystem Contract**: [`docs/ARCHITECTURE.md`](https://git.nokopia.com/yuris/titik-gambut-next/src/branch/main/docs/ARCHITECTURE.md) - **Protomaps PMTiles Specification**: [protomaps/PMTiles GitHub](https://github.com/protomaps/PMTiles) — cloud-optimized single-file vector/raster tile format using HTTP 206 byte-range requests. - **Protomaps Basemaps Style & Docs**: [protomaps.com/docs](https://docs.protomaps.com/basemaps/) - **Copernicus Sentinel-2 STAC API**: [Earth Search STAC API](https://earth-search.aws.element84.com/v1) — AWS Element84 Sentinel-2 L2A STAC catalog. - **Normalized Burn Ratio (NBR) Standard**: [USGS Landsat NBR](https://www.usgs.gov/landsat-missions/normalized-burn-ratio) — Formula: $(B8 - B12) / (B8 + B12)$. - **European Forest Fire Information System (EFFIS)**: [EFFIS Burn Severity Classification](https://effis.jrc.ec.europa.eu/) — Delta-NBR fire damage scoring.
yuris changed title from Issue 56: [Backend] Sentinel-2 STAC search service & scene resolver API (/api/satellite/scene) to [Backend] Sentinel-2 STAC search service & scene resolver API (/api/satellite/scene) 2026-10-14 22:31:25 +00:00
yuris changed title from [Backend] Sentinel-2 STAC search service & scene resolver API (/api/satellite/scene) to Sentinel-2 STAC search service & scene resolver API (/api/satellite/scene) 2026-10-14 22:38:30 +00:00
yuris closed this issue 2026-10-16 01:47:37 +00:00
Sign in to join this conversation.
No labels
backend
frontend
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
yuris/titik-gambut-next#69
No description provided.