| 47 | namespace experimental |
| 48 | { |
| 49 | void FillOsmIdToFeatureIdsMap(std::string const & osmIdToFeatureIdsPath, OsmIdToFeatureIdsMap & mapping) |
| 50 | { |
| 51 | bool const mappedIds = |
| 52 | ForEachOsmId2FeatureId(osmIdToFeatureIdsPath, [&mapping](auto const & compositeId, auto featureId) |
| 53 | { mapping[compositeId.m_mainId].push_back(featureId); }); |
| 54 | CHECK(mappedIds, (osmIdToFeatureIdsPath)); |
| 55 | } |
| 56 | |
| 57 | std::string GetMwmPath(std::string const & mwmDir, CountryId const & countryId) |
| 58 | { |
no test coverage detected