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

Function ParseFeatureIdToOsmIdMapping

tools/feature_list/feature_list.cpp:361–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

359}
360
361bool ParseFeatureIdToOsmIdMapping(string const & path, map<uint32_t, base::GeoObjectId> & mapping)
362{
363 return generator::ForEachOsmId2FeatureId(
364 path, [&](auto const & compositeId, uint32_t const featureId) { mapping[featureId] = compositeId.m_mainId; });
365}
366
367void DidDownload(storage::CountryId const & /* countryId */,
368 shared_ptr<platform::LocalCountryFile> const & /* localFile */)

Callers 1

mainFunction · 0.70

Calls 1

ForEachOsmId2FeatureIdFunction · 0.85

Tested by

no test coverage detected