From 62b1fba68aa91a3e9fb65c85141d8ba55ce8f59e Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Fri, 24 May 2013 23:37:13 +0200 Subject: [PATCH] make isolated dwellings addressable --- sql/functions.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/functions.sql b/sql/functions.sql index 0e0ac8eb..8593a3b1 100644 --- a/sql/functions.sql +++ b/sql/functions.sql @@ -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 -- 2.39.5