X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/f0af5c5643d6fb69859f00e55cb52e77c3c87476..a437f5d18a48d3f982e965ef81c93f71a73e53e0:/sql/functions/placex_triggers.sql

diff --git a/sql/functions/placex_triggers.sql b/sql/functions/placex_triggers.sql
index 953c5430..03a00805 100644
--- a/sql/functions/placex_triggers.sql
+++ b/sql/functions/placex_triggers.sql
@@ -62,8 +62,6 @@ BEGIN
     ELSEIF NEW.class = 'boundary' AND NEW.type = 'administrative'
            AND NEW.admin_level <= 4 AND NEW.osm_type = 'W' THEN
         return NULL;
-    ELSEIF NEW.class = 'railway' AND NEW.type in ('rail') THEN
-        return NULL;
     ELSEIF NEW.osm_type = 'N' AND NEW.class = 'highway' THEN
         NEW.rank_search = 30;
         NEW.rank_address = 0;
