MCPcopy Create free account
hub / github.com/comaps/comaps / FillOsmIdToFeatureIdsMap

Function FillOsmIdToFeatureIdsMap

generator/transit_generator.cpp:55–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55void FillOsmIdToFeatureIdsMap(std::string const & osmIdToFeatureIdsPath, OsmIdToFeatureIdsMap & mapping)
56{
57 CHECK(ForEachOsmId2FeatureId(osmIdToFeatureIdsPath, [&mapping](auto const & compositeId, auto featureId)
58 { mapping[compositeId.m_mainId].push_back(featureId); }),
59 (osmIdToFeatureIdsPath));
60}
61
62std::string GetMwmPath(std::string const & mwmDir, CountryId const & countryId)
63{

Callers 1

BuildTransitFunction · 0.70

Calls 2

ForEachOsmId2FeatureIdFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected