mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-12-26 06:22:13 +03:00
Allow linking of ways to points (by name) as well as for relation admin areas
This commit is contained in:
parent
5e6fdc467c
commit
1fb5964b0e
@ -1676,6 +1676,11 @@ BEGIN
|
|||||||
END IF;
|
END IF;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
|
END IF;
|
||||||
|
|
||||||
|
-- Name searches can be done for ways as well as relations
|
||||||
|
IF NEW.osm_type in ('W','R') AND NEW.rank_search < 26 THEN
|
||||||
|
|
||||||
-- not found one yet? how about doing a name search
|
-- not found one yet? how about doing a name search
|
||||||
IF NEW.centroid IS NULL AND (NEW.name->'name') is not null and make_standard_name(NEW.name->'name') != '' THEN
|
IF NEW.centroid IS NULL AND (NEW.name->'name') is not null and make_standard_name(NEW.name->'name') != '' THEN
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user