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

Function LoadBorders

generator/transit_generator.cpp:48–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46namespace
47{
48void LoadBorders(std::string const & dir, CountryId const & countryId, std::vector<m2::RegionD> & borders)
49{
50 std::string const polyFile = base::JoinPath(dir, BORDERS_DIR, countryId + BORDERS_EXTENSION);
51 borders.clear();
52 borders::LoadBorders(polyFile, borders);
53}
54
55void FillOsmIdToFeatureIdsMap(std::string const & osmIdToFeatureIdsPath, OsmIdToFeatureIdsMap & mapping)
56{

Callers 1

BuildTransitFunction · 0.70

Calls 2

JoinPathFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected