]> git.openstreetmap.org Git - nominatim.git/commitdiff
increase search radius for named roads
authorSarah Hoffmann <lonvia@denofr.de>
Mon, 17 Dec 2012 21:14:11 +0000 (22:14 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Mon, 17 Dec 2012 21:14:11 +0000 (22:14 +0100)
alleviates symptoms of trac ticket #4719

sql/partitions.src.sql

index 324f35bbd22ce8777a735d9d51e93e0a8571d560..8d5e8eff039d65462d9e4ec0aa79ee5478a20ab9 100644 (file)
@@ -178,7 +178,7 @@ BEGIN
           ST_Distance(centroid, point) as distance, null as isguess
           FROM search_name_-partition-
           WHERE name_vector @> ARRAY[isin_token]
-          AND ST_DWithin(centroid, point, 0.01) 
+          AND ST_DWithin(centroid, point, 0.03)
           AND search_rank between 22 and 27
       ORDER BY distance ASC limit 1
     LOOP