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

Function ParseWaysOsmIdToFeatureIdMapping

generator/routing_helpers.cpp:33–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33void ParseWaysOsmIdToFeatureIdMapping(std::string const & osmIdsToFeatureIdPath, OsmIdToFeatureIds & osmIdToFeatureIds)
34{
35 ForEachWayFromFile(osmIdsToFeatureIdPath, [&](uint32_t featureId, base::GeoObjectId osmId)
36 { AddFeatureId(osmId, featureId, osmIdToFeatureIds); });
37}
38
39void ParseWaysFeatureIdToOsmIdMapping(std::string const & osmIdsToFeatureIdPath, FeatureIdToOsmId & featureIdToOsmId)
40{

Callers 4

RestrictionCollectorMethod · 0.85
WriteMetalinesSectionFunction · 0.85
CamerasInfoCollectorMethod · 0.85

Calls 2

ForEachWayFromFileFunction · 0.85
AddFeatureIdFunction · 0.85

Tested by

no test coverage detected