Add MultiPolygon support

This commit is contained in:
Michael Krasnyk
2017-08-18 16:21:50 +02:00
parent fc39e0ce1a
commit 7ad9e13f1e
5 changed files with 116 additions and 45 deletions
@@ -38,7 +38,8 @@ struct LocationDependentData
void loadLocationDependentData(const boost::filesystem::path &file_path);
rtree_t rtree;
std::vector<std::pair<polygon_t, properties_t>> polygons;
std::vector<std::pair<polygon_t, std::size_t>> polygons;
std::vector<properties_t> properties;
};
}
}