remove special handling of rail

Skip railway=rail in the style, so that installations can remove
it if they wish.
This commit is contained in:
Sarah Hoffmann
2020-01-08 23:53:23 +01:00
parent d732dc3bb2
commit ddaf1b79d4
3 changed files with 2 additions and 2 deletions

View File

@@ -98,6 +98,7 @@
"values" : { "values" : {
"level_crossing" : "skip", "level_crossing" : "skip",
"no" : "skip", "no" : "skip",
"rail" : "extra",
"" : "main,with_name" "" : "main,with_name"
} }
}, },

View File

@@ -98,6 +98,7 @@
"values" : { "values" : {
"level_crossing" : "skip", "level_crossing" : "skip",
"no" : "skip", "no" : "skip",
"rail" : "skip",
"" : "main,with_name" "" : "main,with_name"
} }
}, },

View File

@@ -62,8 +62,6 @@ BEGIN
ELSEIF NEW.class = 'boundary' AND NEW.type = 'administrative' ELSEIF NEW.class = 'boundary' AND NEW.type = 'administrative'
AND NEW.admin_level <= 4 AND NEW.osm_type = 'W' THEN AND NEW.admin_level <= 4 AND NEW.osm_type = 'W' THEN
return NULL; return NULL;
ELSEIF NEW.class = 'railway' AND NEW.type in ('rail') THEN
return NULL;
ELSEIF NEW.osm_type = 'N' AND NEW.class = 'highway' THEN ELSEIF NEW.osm_type = 'N' AND NEW.class = 'highway' THEN
NEW.rank_search = 30; NEW.rank_search = 30;
NEW.rank_address = 0; NEW.rank_address = 0;