diff options
author | vng <viktor.govako@gmail.com> | 2015-08-19 16:58:20 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 03:03:08 +0300 |
commit | cc4562035c7da5f61c3f82d9a3414deb225f3d6b (patch) | |
tree | a2049a48977b202a7aaa4ed5e6da3089f961d480 /indexer/feature_data.hpp | |
parent | f80125b9d0829b83636806621475aa0c147e1d72 (diff) |
[generator] Process railway-station-subway for some special cities.
Diffstat (limited to 'indexer/feature_data.hpp')
-rw-r--r-- | indexer/feature_data.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indexer/feature_data.hpp b/indexer/feature_data.hpp index a9754ee1f9..3d140e97b7 100644 --- a/indexer/feature_data.hpp +++ b/indexer/feature_data.hpp @@ -206,8 +206,6 @@ class FeatureParams : public FeatureParamsBase feature::Metadata m_metadata; public: - - typedef vector<uint32_t> TTypes; TTypes m_Types; @@ -244,6 +242,10 @@ public: inline void AddType(uint32_t t) { m_Types.push_back(t); } + /// Special function to replace a regular railway station type with + /// the special one for the correspondent city. + void SetRwStationType(char const * cityName); + /// @param skipType2 Do not accumulate this type if skipType2 != 0. /// '2' means 2-level type in classificator tree (also skip child types). void AddTypes(FeatureParams const & rhs, uint32_t skipType2); |