diff options
author | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2015-05-08 08:39:16 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:47:59 +0300 |
commit | 4f91d61c48e8b9e6922f034fee242cfa6436cbc9 (patch) | |
tree | 5773270338b37d129dd7679fb4946557e77a52b2 /indexer/ftypes_matcher.hpp | |
parent | 8c11d7f67f1b06fe85f6f383526c5f9c29b226ec (diff) |
Implementing road classification system for turn generation.
Diffstat (limited to 'indexer/ftypes_matcher.hpp')
-rw-r--r-- | indexer/ftypes_matcher.hpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/indexer/ftypes_matcher.hpp b/indexer/ftypes_matcher.hpp index 2346e2dc68..8ed7a3c0b8 100644 --- a/indexer/ftypes_matcher.hpp +++ b/indexer/ftypes_matcher.hpp @@ -137,5 +137,21 @@ uint32_t GetPopulationByRadius(double r); /// The root name ("world") is ignored bool IsTypeConformed(uint32_t type, vector<string> const & path); +enum class HighwayClass +{ + None = 0, + Trunk, + Primary, + Secondary, + Tertiary, + LivingStreet, + Service, + Count // This value is used for internals only. +}; +string DebugPrint(HighwayClass const cls); + +HighwayClass GetHighwayClass(feature::TypesHolder const & types); +HighwayClass GetHighwayClass(FeatureType const & ft); + //@} } |