From 09b59bd56a6015bf83ef45e7ec312f5dbabddd5e Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Wed, 27 Jun 2018 22:45:34 +0200 Subject: [PATCH] increase search radius when looking for addr:place base objects Fixes #1036. --- 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 9ae020e4..efb59542 100644 --- a/sql/partition-functions.src.sql +++ b/sql/partition-functions.src.sql @@ -125,7 +125,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.03) + AND ST_DWithin(centroid, point, 0.04) AND search_rank between 16 and 22 ORDER BY distance ASC limit 1 LOOP -- 2.39.5