Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Byko-Ianko <v.bykoianko@corp.mail.ru>2015-05-08 08:39:16 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:47:59 +0300
commit4f91d61c48e8b9e6922f034fee242cfa6436cbc9 (patch)
tree5773270338b37d129dd7679fb4946557e77a52b2 /indexer/ftypes_matcher.hpp
parent8c11d7f67f1b06fe85f6f383526c5f9c29b226ec (diff)
Implementing road classification system for turn generation.
Diffstat (limited to 'indexer/ftypes_matcher.hpp')
-rw-r--r--indexer/ftypes_matcher.hpp16
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);
+
//@}
}