make isolated dwellings addressable

This commit is contained in:
Sarah Hoffmann
2013-05-24 23:37:13 +02:00
parent 7d24737e22
commit 62b1fba68a

View File

@@ -1094,10 +1094,10 @@ BEGIN
ELSEIF NEW.type in ('national_park') THEN
NEW.rank_search := 18;
NEW.rank_address := 18;
ELSEIF NEW.type in ('suburb','croft','subdivision') THEN
ELSEIF NEW.type in ('suburb','croft','subdivision','isolated_dwelling') THEN
NEW.rank_search := 20;
NEW.rank_address := NEW.rank_search;
ELSEIF NEW.type in ('farm','locality','islet','isolated_dwelling','mountain_pass') THEN
ELSEIF NEW.type in ('farm','locality','islet','mountain_pass') THEN
NEW.rank_search := 20;
NEW.rank_address := 0;
-- Irish townlands, tagged as place=locality and locality=townland