From: Datendelphin Date: Fri, 6 Apr 2012 16:34:45 +0000 (+0200) Subject: ranking for mountain_pass X-Git-Tag: v2.0.0~90^2 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/6aa42cb36ace5f4d4abaf2e73543d9d15004659b ranking for mountain_pass --- diff --git a/sql/functions.sql b/sql/functions.sql index 3207e5ed..b61f52b2 100644 --- a/sql/functions.sql +++ b/sql/functions.sql @@ -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