co-maps/generator/postcode_points_builder.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
785 B
C++
Raw Permalink Normal View History

2025-11-22 13:58:55 +01:00
#pragma once
#include <string>
namespace storage
{
class CountryInfoGetter;
}
namespace indexer
{
enum class PostcodePointsDatasetType
{
UK,
US
};
// Builds postcodes section with external postcodes data and writes it to the mwm file.
bool BuildPostcodePoints(std::string const & path, std::string const & country, PostcodePointsDatasetType type,
std::string const & datasetPath, bool forceRebuild);
// Exposed for testing.
bool BuildPostcodePointsWithInfoGetter(std::string const & path, std::string const & country,
PostcodePointsDatasetType type, std::string const & datasetPath,
bool forceRebuild, storage::CountryInfoGetter const & infoGetter);
} // namespace indexer