| 259 | }; |
| 260 | |
| 261 | bool RoadCategoryToSpeed(std::string const & category, routing::SpeedInUnits & speed) |
| 262 | { |
| 263 | auto const it = kRoadCategoryToSpeed.find(category); |
| 264 | if (it == kRoadCategoryToSpeed.cend()) |
| 265 | return false; |
| 266 | |
| 267 | speed = it->second; |
| 268 | return true; |
| 269 | } |
| 270 | |
| 271 | bool ParseMaxspeedTag(std::string const & maxspeedValue, routing::SpeedInUnits & speed) |
| 272 | { |