Welcome to mirror list, hosted at ThFree Co, Russian Federation.

borders_generator.hpp « generator - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cf69d8beb5538f2b0579949a67a85a94e88ab927 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include "../geometry/region2d.hpp"
#include "../geometry/point2d.hpp"

#include "../std/vector.hpp"
#include "../std/string.hpp"

namespace osm
{
  void GenerateBordersFromOsm(string const & tagAndOptValue, string const & osmFile,
                              string const & outFile);
  /// @return false if borderFile can't be opened
  bool LoadBorders(string const & borderFile, vector<m2::RegionD> & outBorders);
}