BRGM peat restoration tactical markers & inspection popup (restoration-layer.tsx) #58

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

What to build

Render BRGM restoration infrastructure points on the map with custom SVG icons (barrier icon for sekat kanal, drill icon for sumur bor) and an inspection popup displaying construction year and physical condition.

Technical specifications

  1. Target files:
    • src/components/map/layers/restoration-layer.tsx: MapLibre symbol / circle layer.
    • src/components/map/popups/restoration-popup.tsx: Detail popup card.
  2. Visual cues:
    • Kondisi Baik: Green border (#22c55e).
    • Kondisi Rusak: Red border (#ef4444).

Acceptance criteria

  • Restoration points render with distinct SVG icons.
  • Clicking a marker displays the popup with verified infrastructure metadata.

Blocked by

  • Issue 42: [Backend] BRGM PRIMS restoration infrastructure data ingestion & GeoJSON normalization.

Authoritative Specifications & Reference Documentation

  • Titik Gambut Architecture & Subsystem Contract: docs/ARCHITECTURE.md
  • BRGM PRIMS (Peatland Restoration Information & Monitoring System): prims.brgm.go.id — Peat drainage canals, canal blocks (sekat kanal), and deep wells (sumur bor).
  • Pantau Gambut Canal Network: pantaugambut.id — Field verification data on drainage canal degradation.
### What to build Render BRGM restoration infrastructure points on the map with custom SVG icons (barrier icon for *sekat kanal*, drill icon for *sumur bor*) and an inspection popup displaying construction year and physical condition. ### Technical specifications 1. **Target files**: - `src/components/map/layers/restoration-layer.tsx`: MapLibre symbol / circle layer. - `src/components/map/popups/restoration-popup.tsx`: Detail popup card. 2. **Visual cues**: - Kondisi Baik: Green border (`#22c55e`). - Kondisi Rusak: Red border (`#ef4444`). ### Acceptance criteria - [x] Restoration points render with distinct SVG icons. - [x] Clicking a marker displays the popup with verified infrastructure metadata. ### Blocked by - Issue 42: [Backend] BRGM PRIMS restoration infrastructure data ingestion & GeoJSON normalization. --- ### 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) - **BRGM PRIMS (Peatland Restoration Information & Monitoring System)**: [prims.brgm.go.id](https://prims.brgm.go.id/) — Peat drainage canals, canal blocks (*sekat kanal*), and deep wells (*sumur bor*). - **Pantau Gambut Canal Network**: [pantaugambut.id](https://pantaugambut.id/) — Field verification data on drainage canal degradation.
yuris changed title from Issue 45: [Frontend] BRGM peat restoration tactical markers & inspection popup (restoration-layer.tsx) to [Frontend] BRGM peat restoration tactical markers & inspection popup (restoration-layer.tsx) 2026-10-14 22:31:26 +00:00
yuris changed title from [Frontend] BRGM peat restoration tactical markers & inspection popup (restoration-layer.tsx) to BRGM peat restoration tactical markers & inspection popup (restoration-layer.tsx) 2026-10-14 22:38:31 +00:00
yuris closed this issue 2026-10-16 01:27:14 +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#58
No description provided.