]> git.openstreetmap.org Git - nominatim.git/commitdiff
move place=isolated_dwelling up to the same rank as place=locality
authorSarah Hoffmann <lonvia@denofr.de>
Sun, 12 Feb 2012 10:12:51 +0000 (10:12 +0000)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 12 Feb 2012 10:12:51 +0000 (10:12 +0000)
sql/functions.sql

index de8507180c81f117a5971961c21169bf53721ceb..3029d01588ab6a8f696b095f6232ed129f7ac191 100644 (file)
@@ -985,7 +985,7 @@ BEGIN
       ELSEIF NEW.type in ('suburb','croft','subdivision') THEN
         NEW.rank_search := 20;
         NEW.rank_address := NEW.rank_search;
-      ELSEIF NEW.type in ('farm','locality','islet') THEN
+      ELSEIF NEW.type in ('farm','locality','islet','isolated_dwelling') THEN
         NEW.rank_search := 20;
         NEW.rank_address := 0;
       ELSEIF NEW.type in ('hall_of_residence','neighbourhood','housing_estate','nature_reserve') THEN