mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-24 06:22:08 +03:00
add support for Irish townlands
To work properly, osm2pgsql needs to be updated to the latest version.
This commit is contained in:
parent
aaca88d5a6
commit
6522e531e4
@ -1037,6 +1037,10 @@ BEGIN
|
||||
ELSEIF NEW.type in ('farm','locality','islet','isolated_dwelling','mountain_pass') THEN
|
||||
NEW.rank_search := 20;
|
||||
NEW.rank_address := 0;
|
||||
-- Irish townlands, tagged as place=locality and locality=townland
|
||||
IF (NEW.extratags -> 'locality') = 'townland' THEN
|
||||
NEW.rank_address := 20;
|
||||
END IF;
|
||||
ELSEIF NEW.type in ('hall_of_residence','neighbourhood','housing_estate','nature_reserve') THEN
|
||||
NEW.rank_search := 22;
|
||||
NEW.rank_address := 22;
|
||||
|
Loading…
Reference in New Issue
Block a user