forked from organicmaps/organicmaps
Add house numbers for features with empty names.
This commit is contained in:
parent
5643ba275b
commit
2a69582cc7
1 changed files with 5 additions and 1 deletions
|
@ -499,7 +499,11 @@ namespace ftype {
|
|||
++m_count;
|
||||
|
||||
// do not call is_name_tag(k), but exactly "name" tag
|
||||
if (k == "name" && m_name.empty())
|
||||
if (m_name.empty() && k == "name")
|
||||
m_name = v;
|
||||
|
||||
// add house number as name
|
||||
if (m_name.empty() && k == "addr:housenumber")
|
||||
m_name = v;
|
||||
|
||||
if (k == "layer" && m_layer == 0)
|
||||
|
|
Loading…
Add table
Reference in a new issue