4c Get Deforestation Metrics
โถStep 4c: Get Deforestation Metrics
Retrieve deforestation metrics for all facilities in the task.
โถWhat this step does
It reads the computed deforestation metrics for the supply sheds of this
task's facilities, scoped by filter[assets.task_id]=eq:{task-id}. Each row
reports forest loss, non-compliance area, and agreement scores, keyed by
facility_id so it can be joined back onto the facilities from Step 4a.
โถWhy it's needed
Deforestation is one of the metrics you requested at upload in Step 1; this is where the processed results are read back. The location steps (4a/4b) prove the upload created records, but they carry no risk figures โ this call is what confirms the metrics actually computed and supplies the non-compliance and forest-area numbers the summary cards and map colouring depend on. Without it the confirmation would show shapes with no risk signal.
โถRequest
GET /metrics/sheds/deforestation?filter[assets.task_id]=eq:{task-id}
โถData Joining
- Match
attributes.facility_idto facility IDs from Step 4a - Metric ID format:
{shed_id}:{monitoring_end_date}