| 24 | namespace |
| 25 | { |
| 26 | bool IsWorldMwm(std::string const & path) |
| 27 | { |
| 28 | try |
| 29 | { |
| 30 | feature::DataHeader const header(path); |
| 31 | return header.GetType() == feature::DataHeader::MapType::World; |
| 32 | } |
| 33 | catch (Reader::OpenException const & e) |
| 34 | { |
| 35 | return false; |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | void WriteCitiesIdsSectionToFile(std::string const & dataPath, |
| 40 | ankerl::unordered_dense::map<uint32_t, base::GeoObjectId> const & mapping) |
no test coverage detected