]> git.openstreetmap.org Git - nominatim.git/commitdiff
ranking for mountain_pass
authorDatendelphin <code@osm.datendelphin.net>
Fri, 6 Apr 2012 16:34:45 +0000 (18:34 +0200)
committerDatendelphin <code@osm.datendelphin.net>
Fri, 6 Apr 2012 16:34:45 +0000 (18:34 +0200)
sql/functions.sql

index 3207e5ed7b7cab675a76bb7cc6e6ea97461d6d4a..b61f52b27640ac571edaf846b2de1ff180a48187 100644 (file)
@@ -1029,7 +1029,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','isolated_dwelling') THEN
+      ELSEIF NEW.type in ('farm','locality','islet','isolated_dwelling','mountain_pass') THEN
         NEW.rank_search := 20;
         NEW.rank_address := 0;
       ELSEIF NEW.type in ('hall_of_residence','neighbourhood','housing_estate','nature_reserve') THEN