diff options
author | Mikhail Gorbushin <m.gorbushin@corp.mail.ru> | 2019-06-12 20:54:27 +0300 |
---|---|---|
committer | mpimenov <mpimenov@users.noreply.github.com> | 2019-06-17 16:40:55 +0300 |
commit | 4025f9f9f16c216983f08b1854f918bcb539efa8 (patch) | |
tree | 3335051fc3f0eb1523931fcc5e93e6200886523f /generator/borders.cpp | |
parent | 64e4c4ebe7d18474381f852452dc25f7f3487e1f (diff) |
[qt] add option - draw borders from packed_polygon.bin
Diffstat (limited to 'generator/borders.cpp')
-rw-r--r-- | generator/borders.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generator/borders.cpp b/generator/borders.cpp index 9b70fc933c..526cffe01a 100644 --- a/generator/borders.cpp +++ b/generator/borders.cpp @@ -241,7 +241,7 @@ void GeneratePackedBorders(std::string const & baseDir) } void DumpBorderToPolyFile(std::string const & targetDir, storage::CountryId const & mwmName, - std::vector<std::vector<m2::PointD>> const & polygons) + std::vector<m2::RegionD> const & polygons) { CHECK(!polygons.empty(), ()); @@ -255,7 +255,7 @@ void DumpBorderToPolyFile(std::string const & targetDir, storage::CountryId cons { poly << polygonId << std::endl; ++polygonId; - for (auto const & point : points) + for (auto const & point : points.Data()) { ms::LatLon const ll = MercatorBounds::ToLatLon(point); poly << " " << std::scientific << ll.m_lon << " " << ll.m_lat << std::endl; |