From 7db6671126142795410f001554b4398a0300a306 Mon Sep 17 00:00:00 2001 From: Keith Moss Date: Tue, 3 Sep 2024 17:26:41 -0400 Subject: [PATCH] NSW LG 2024: Using the new 'overwrite threshold' option on loader config to handle two polling places that are across the road from each other --- scrapers/nsw_lg_2024/config.json | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/scrapers/nsw_lg_2024/config.json b/scrapers/nsw_lg_2024/config.json index 9ddfb35a8c..b72df78e08 100644 --- a/scrapers/nsw_lg_2024/config.json +++ b/scrapers/nsw_lg_2024/config.json @@ -2,6 +2,16 @@ "geocoding": { "enabled": false }, + "overwrite_distance_thresholds": [ + { + "name": "Thornton Public School", + "threshold": 0.025 + }, + { + "name": "St Michael's Anglican Church", + "threshold": 0.025 + } + ], "fix_data_issues": [ { "field": "name", @@ -16,20 +26,6 @@ "value": 150.8655947 } ] - }, - { - "field": "name", - "value": "Thornton Public School", - "overwrite": [ - { - "field": "lat", - "value": -32.7796597 - }, - { - "field": "lon", - "value": 151.6408342 - } - ] } ] } \ No newline at end of file