forked from organicmaps/organicmaps
[generator] Treat house numbers like “к403” as house names.
This commit is contained in:
parent
848ac71fde
commit
138911a173
1 changed files with 8 additions and 4 deletions
|
@ -172,13 +172,17 @@ namespace ftype
|
|||
|
||||
// get house number
|
||||
if (k == "addr:housenumber")
|
||||
m_params.AddHouseNumber(v);
|
||||
if (k == "addr:housename")
|
||||
{
|
||||
// Treat "numbers" like names if it's not an actual number.
|
||||
if (!m_params.AddHouseNumber(v))
|
||||
m_params.AddHouseName(v);
|
||||
}
|
||||
if (k == "addr:housename")
|
||||
m_params.AddHouseName(v);
|
||||
if (k == "addr:street")
|
||||
m_params.AddStreetAddress(v);
|
||||
m_params.AddStreetAddress(v);
|
||||
if (k == "addr:flats")
|
||||
m_params.flats = v;
|
||||
m_params.flats = v;
|
||||
|
||||
// get population rank
|
||||
if (k == "population")
|
||||
|
|
Loading…
Add table
Reference in a new issue