mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
remove special handling of mountain passes
clashes with use of place tags on same node, needs updated osm2pgsql
This commit is contained in:
@@ -583,6 +583,7 @@
|
|||||||
'natural:scrub' => array('label'=>'Scrub','frequency'=>20,'icon'=>'',),
|
'natural:scrub' => array('label'=>'Scrub','frequency'=>20,'icon'=>'',),
|
||||||
'natural:fen' => array('label'=>'Fen','frequency'=>20,'icon'=>'',),
|
'natural:fen' => array('label'=>'Fen','frequency'=>20,'icon'=>'',),
|
||||||
'building:yes' => array('label'=>'Building','frequency'=>200,'icon'=>'',),
|
'building:yes' => array('label'=>'Building','frequency'=>200,'icon'=>'',),
|
||||||
|
'mountain_pass:yes' => array('label'=>'Mountain Pass','frequency'=>200,'icon'=>'',),
|
||||||
|
|
||||||
'amenity:parking' => array('label'=>'Parking','frequency'=>3157,'icon'=>'',),
|
'amenity:parking' => array('label'=>'Parking','frequency'=>3157,'icon'=>'',),
|
||||||
'highway:bus_stop' => array('label'=>'Bus Stop','frequency'=>35777,'icon'=>'transport_bus_stop2',),
|
'highway:bus_stop' => array('label'=>'Bus Stop','frequency'=>35777,'icon'=>'transport_bus_stop2',),
|
||||||
|
|||||||
Submodule osm2pgsql updated: 3586caa093...dc7cc1b672
@@ -1155,6 +1155,9 @@ BEGIN
|
|||||||
NEW.rank_address := NEW.rank_search;
|
NEW.rank_address := NEW.rank_search;
|
||||||
ELSEIF NEW.class = 'natural' and NEW.type in ('coastline') THEN
|
ELSEIF NEW.class = 'natural' and NEW.type in ('coastline') THEN
|
||||||
RETURN NULL;
|
RETURN NULL;
|
||||||
|
ELSEIF NEW.class = 'mountain_pass' THEN
|
||||||
|
NEW.rank_search := 20;
|
||||||
|
NEW.rank_address := 0;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
END IF;
|
END IF;
|
||||||
|
|||||||
Reference in New Issue
Block a user