forked from organicmaps/organicmaps
[generator][search] Do not inherit "population" from Relation.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
This commit is contained in:
parent
6945288f3c
commit
ff44573270
1 changed files with 4 additions and 0 deletions
|
@ -199,6 +199,10 @@ void RelationTagsWay::Process(RelationElement const & e)
|
|||
if (p.first == "place" || p.first == "de:place" || p.first == "capital")
|
||||
continue;
|
||||
|
||||
// Otherwise we have a bunch of minor islands (and other stuff) inside a country with a huge search rank.
|
||||
if (p.first == "population")
|
||||
continue;
|
||||
|
||||
// Do not pass "ref" tags from boundaries and other, non-route relations to highways.
|
||||
if (p.first == "ref" && isHighway)
|
||||
continue;
|
||||
|
|
Loading…
Add table
Reference in a new issue