mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-22 21:28:10 +03:00
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:
parent
d732dc3bb2
commit
ddaf1b79d4
@ -98,6 +98,7 @@
|
||||
"values" : {
|
||||
"level_crossing" : "skip",
|
||||
"no" : "skip",
|
||||
"rail" : "extra",
|
||||
"" : "main,with_name"
|
||||
}
|
||||
},
|
||||
|
@ -98,6 +98,7 @@
|
||||
"values" : {
|
||||
"level_crossing" : "skip",
|
||||
"no" : "skip",
|
||||
"rail" : "skip",
|
||||
"" : "main,with_name"
|
||||
}
|
||||
},
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user