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

Function BuildCitiesBoundariesForTesting

generator/cities_boundaries_builder.cpp:73–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73bool BuildCitiesBoundariesForTesting(string const & dataPath, TestIdToBoundariesTable & table)
74{
75 ankerl::unordered_dense::map<uint32_t, uint64_t> mapping;
76 if (!ParseFeatureIdToTestIdMapping(dataPath, mapping))
77 {
78 LOG(LERROR, ("Can't parse feature id to test id mapping."));
79 return false;
80 }
81 return BuildCitiesBoundaries(dataPath, table, mapping);
82}
83
84void SerializeBoundariesTable(std::string const & path, OsmIdToBoundariesTable & table)
85{

Callers 1

FinishMethod · 0.85

Calls 2

BuildCitiesBoundariesFunction · 0.85

Tested by 1

FinishMethod · 0.68