]> git.openstreetmap.org Git - nominatim.git/blobdiff - sql/functions/placex_triggers.sql
remove special handling of rail
[nominatim.git] / sql / functions / placex_triggers.sql
index 953c54302c8262d480053645949917c6f438354f..03a0080555b53bc1aa7341bdbfa6584dbd45d550 100644 (file)
@@ -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;