7 Verify on Locations

Verify that ingested parcels now appear as plots with deforestation metric data.

Fetches plots filtered by the ingest task ID, then chains a request for plot-level deforestation metrics. Renders two visualizations:

What this step does

It reads /locations/plots filtered to {{ingest_task_id}} โ€” the ingest task from Step 6 โ€” so it returns exactly the plots that step created, then chains a second call for their plot-level deforestation metrics and renders both as a table and a risk-coloured map.

Why it's needed

Ingest (Step 6) is asynchronous, so a 202 there means "accepted", not "already visible". This step is the confirmation: seeing the plots come back on /locations under the ingest task id proves the pipeline actually normalised and persisted them, and pulling their metrics shows the requested processing (here, deforestation) ran. It closes the loop on the full journey โ€” search โ†’ review โ†’ ingest โ†’ locations โ†’ metrics.

When you can skip it

This is a read-only verification, so it changes nothing and can be skipped once you trust the ingest completed. Keep it whenever you want proof the parcels landed as usable, metric-bearing plots before you rely on them downstream.

  1. Summary stats + table โ€” total plots, non-compliant count, deforestation rate, and a per-plot table with forest area, non-compliance area, and risk level
  2. Interactive Leaflet map โ€” plot polygons colored by deforestation risk (green = low, orange = medium, red = high, grey = no data). Click a polygon for metric details.

This confirms the full workflow: search โ†’ review โ†’ ingest โ†’ locations โ†’ metrics.

Required scope: parcels:read