First to Site
Release 3.6

Dossier-API Enrichment Routing

All backend parcel enrichment now routes through dossier-api; LGA-based water authority fallback

Overview

Backend services were bypassing dossier-api for parcel lookups, creating duplicate cache paths and inconsistent results between the dossier frontend and the admin portal. This release finishes the migration so every enrichment call goes through dossier-api, and adds a fallback that resolves a sensible water authority for parcels that have no geometry.

What Changed

Unified Backend Enrichment

  • ProjectInsightEnrichmentService now calls dossier-api for all parcel intelligence (SPI, parcel PFI, property PFI, title status, overlays, land size).
  • The platform is a consumer only; dossier-api remains the source of truth for parcel intelligence and owns the cache.
  • Removed legacy direct-to-Vicplan code paths from the platform backend.

LGA-based Water Authority Fallback

  • Untitled / pending parcels often lack geometry, so the spatial water-authority lookup returns nothing.
  • Fallback mapping of LGA name → retail water authority (Yarra Valley, South East, Greater Western, etc.) lives in parcel-summary.ts and kicks in when spatial lookup fails.

Reject Fuzzy SPI Matches

  • Geocoder matches below a confidence threshold are now rejected rather than accepted.
  • Prevents the subtle bug where a low-confidence geocoder match would assign the parcel to the wrong LGA and return incorrect zoning.

Files Touched

FileChange
app/src/Service/ProjectInsightEnrichmentService.phpRoute all enrichment through dossier-api
dossier-api/src/server/services/parcel-summary.tsLGA water authority fallback map
dossier-api/src/server/api.tsReject fuzzy SPI geocoder matches

Changelog Reference

  • fix: route backend parcel enrichment through dossier-api (9b0b7ee)
  • fix: add LGA-based water authority fallback for untitled parcels (0f6a0a6)
  • fix: reject fuzzy SPI geocoder matches to prevent wrong LGA detection (f19164e)