Vepler logo
v2.154.1

Flood-risk point endpoint distinguishes no-risk from no-coverage

POST /v1/flood-risk/point now reports points outside the modelled flood extents as no modelled risk, out of coverage, or not assessed, rather than one ambiguous value.

Changed

  • POST /v1/flood-risk/point now reports a precise dataAvailability for coordinates that fall outside every modelled flood extent. England points outside all extents resolve to assessed_no_modelled_risk, a positive finding that the national assessment covers the location and models no flood risk there, while Scotland, Wales and Northern Ireland resolve to out_of_coverage.
  • Only genuinely un-placeable coordinates now return not_assessed, and present-day points that sit solely inside the larger 2080 climate extent are reported as assessed_no_modelled_risk rather than carrying a null band. All three dataAvailability values were already part of the response schema, and the endpoint now emits them.
  • Nation is resolved by a GiST-indexed point-in-polygon against the 2021 LSOA layer (around one millisecond) that runs in parallel with the flood joins, so the added precision costs no measurable latency.

Affected endpoints