| 398 | } |
| 399 | |
| 400 | void FeatureParams::SetRwSubwayType(char const * cityName) |
| 401 | { |
| 402 | Classificator const & c = classif(); |
| 403 | |
| 404 | static uint32_t const src = c.GetTypeByPath({"railway", "station"}); |
| 405 | uint32_t const dest = c.GetTypeByPath({"railway", "station", "subway", cityName}); |
| 406 | |
| 407 | for (size_t i = 0; i < m_types.size(); ++i) |
| 408 | { |
| 409 | if (ftype::Trunc(m_types[i], 2) == src) |
| 410 | { |
| 411 | m_types[i] = dest; |
| 412 | break; |
| 413 | } |
| 414 | } |
| 415 | } |
| 416 | |
| 417 | FeatureParams::TypesResult FeatureParams::FinishAddingTypesEx() |
| 418 | { |
no test coverage detected