| 71 | } |
| 72 | |
| 73 | bool 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 | |
| 84 | void SerializeBoundariesTable(std::string const & path, OsmIdToBoundariesTable & table) |
| 85 | { |