diff options
author | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2016-06-03 19:17:14 +0300 |
---|---|---|
committer | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2016-06-17 19:36:50 +0300 |
commit | afea24bc7f403e40cea7f3f067b6cced9dbfd7f9 (patch) | |
tree | b190be76f6a9a8256dc87c4312efa8b3363d54e9 /routing/features_road_graph.hpp | |
parent | 0b8e94adccd2da6019b6ff5512156e8b1d570123 (diff) |
[bicycle routing] Using attr bicycle=yes or no and oneway:bicycle for bicycle routing.
Diffstat (limited to 'routing/features_road_graph.hpp')
-rw-r--r-- | routing/features_road_graph.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/routing/features_road_graph.hpp b/routing/features_road_graph.hpp index af61afd11f..df3d7ec47a 100644 --- a/routing/features_road_graph.hpp +++ b/routing/features_road_graph.hpp @@ -31,6 +31,7 @@ private: double GetSpeed(FeatureType const & f) const override; double GetMaxSpeed() const override; bool IsOneWay(FeatureType const & f) const override; + bool IsRoad(FeatureType const & f) const override; void Clear(); @@ -77,6 +78,7 @@ public: private: friend class CrossFeaturesLoader; + bool IsRoad(FeatureType const & ft) const; bool IsOneWay(FeatureType const & ft) const; double GetSpeedKMPHFromFt(FeatureType const & ft) const; |