]> git.openstreetmap.org Git - nominatim.git/blobdiff - sql/functions.sql
enable coverage also for tests with HTTP errors
[nominatim.git] / sql / functions.sql
index 3c64cf15d8930db6c1705e8c7e7b75c143500de1..a9bca5423dc03d327c3cccbd6d20cb3df4e61a65 100644 (file)
@@ -915,6 +915,9 @@ BEGIN
       ELSE
         NEW.rank_address := 0;
       END IF;
+    ELSEIF NEW.class = 'leisure' and NEW.type in ('park') THEN
+      NEW.rank_search := 24;
+      NEW.rank_address := 0;
     ELSEIF NEW.class = 'natural' and NEW.type in ('peak','volcano','mountain_range') THEN
       NEW.rank_search := 18;
       NEW.rank_address := 0;