diff options
author | vng <viktor.govako@gmail.com> | 2015-08-28 15:11:26 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 03:03:09 +0300 |
commit | 5eeafbfc08413039368690b219e6ed4a22e05b2e (patch) | |
tree | a6fd0a7d8ab90abccea74c5523e80afa719849c4 /indexer/feature_data.cpp | |
parent | 0654f329113d8e72fa3c478afe44162af2cd474d (diff) |
[generator] Fixed subway processing for London and Rome.
Diffstat (limited to 'indexer/feature_data.cpp')
-rw-r--r-- | indexer/feature_data.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indexer/feature_data.cpp b/indexer/feature_data.cpp index 408dd381ab..fe859ef5d9 100644 --- a/indexer/feature_data.cpp +++ b/indexer/feature_data.cpp @@ -280,17 +280,17 @@ uint8_t FeatureParams::GetTypeMask() const return m_geomType; } -void FeatureParams::SetRwStationType(char const * cityName) +void FeatureParams::SetRwSubwayType(char const * cityName) { Classificator const & c = classif(); - static uint32_t const src = c.GetTypeByPath({"railway", "station", "subway"}); + static uint32_t const src = c.GetTypeByPath({"railway", "station"}); uint32_t const dest = c.GetTypeByPath({"railway", "station", "subway", cityName}); for (size_t i = 0; i < m_Types.size(); ++i) { uint32_t t = m_Types[i]; - ftype::TruncValue(t, 3); + ftype::TruncValue(t, 2); if (t == src) { m_Types[i] = dest; |