fix(transform): tighten H3 catchment to res 5 (~24km radius)

Res 4 + k_ring(1) gave ~50-60km effective radius, causing Oldenburg to
absorb Bremen (40km away) and destroying score differentiation.

Res 5 + k_ring(1) gives ~24km — captures adjacent Gemeinden (Delmenhorst
at 15km) without bleeding into unrelated cities at 40km+.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Deeman
2026-03-06 14:34:56 +01:00
parent 159d1b5b9a
commit f81d5f19da
2 changed files with 14 additions and 13 deletions

View File

@@ -215,7 +215,7 @@ SELECT
l.location_slug,
l.lat,
l.lon,
h3_latlng_to_cell(l.lat, l.lon, 4) AS h3_cell_res4,
h3_latlng_to_cell(l.lat, l.lon, 5) AS h3_cell_res5,
l.admin1_code,
l.admin2_code,
l.population,