From: Sarah Hoffmann Date: Fri, 16 Mar 2018 22:37:42 +0000 (+0100) Subject: increase search radius for named streets in addresses X-Git-Tag: v3.2.0~107 X-Git-Url: https://git.openstreetmap.org/nominatim.git/commitdiff_plain/d79a2bb17eef64945f776deae2e43068ecc05b65?hp=-c increase search radius for named streets in addresses Fixes #950. --- d79a2bb17eef64945f776deae2e43068ecc05b65 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