| 99 | } |
| 100 | |
| 101 | bool ParseFeatureIdToOsmIdMapping(std::string const & path, |
| 102 | ankerl::unordered_dense::map<uint32_t, base::GeoObjectId> & mapping) |
| 103 | { |
| 104 | return ForEachOsmId2FeatureId(path, [&](auto const & compositeId, auto featureId) |
| 105 | { |
| 106 | CHECK(mapping.emplace(featureId, compositeId.m_mainId).second, |
| 107 | ("Several osm ids for feature", featureId, "in file", path)); |
| 108 | }); |
| 109 | } |
| 110 | |
| 111 | bool ParseFeatureIdToTestIdMapping(std::string const & path, ankerl::unordered_dense::map<uint32_t, uint64_t> & mapping) |
| 112 | { |
no test coverage detected