From d79a2bb17eef64945f776deae2e43068ecc05b65 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Fri, 16 Mar 2018 23:37:42 +0100 Subject: [PATCH] increase search radius for named streets in addresses Fixes #950. --- sql/partition-functions.src.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/partition-functions.src.sql b/sql/partition-functions.src.sql index 110dd0cd..32b5f0a1 100644 --- a/sql/partition-functions.src.sql +++ b/sql/partition-functions.src.sql @@ -129,7 +129,7 @@ BEGIN ST_Distance(centroid, point) as distance, null as isguess FROM search_name_-partition- WHERE name_vector @> isin_token - AND ST_DWithin(centroid, point, 0.01) + AND ST_DWithin(centroid, point, 0.015) AND search_rank between 26 and 27 ORDER BY distance ASC limit 1 LOOP -- 2.39.5