mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
increase search radius for named roads
alleviates symptoms of trac ticket #4719
This commit is contained in:
@@ -178,7 +178,7 @@ BEGIN
|
|||||||
ST_Distance(centroid, point) as distance, null as isguess
|
ST_Distance(centroid, point) as distance, null as isguess
|
||||||
FROM search_name_-partition-
|
FROM search_name_-partition-
|
||||||
WHERE name_vector @> ARRAY[isin_token]
|
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
|
AND search_rank between 22 and 27
|
||||||
ORDER BY distance ASC limit 1
|
ORDER BY distance ASC limit 1
|
||||||
LOOP
|
LOOP
|
||||||
|
|||||||
Reference in New Issue
Block a user