Add an option to specify the size of tiny polygons

This commit is contained in:
Erica Fischer
2022-08-23 13:20:42 -07:00
parent 5158576366
commit 3f8fb2177e
38 changed files with 1620 additions and 1410 deletions
+6
View File
@@ -306,6 +306,12 @@ std::string stringify_strategies(std::vector<strategy> const &strategies) {
any = true;
}
if (strategies[i].tiny_polygons > 0) {
state.json_write_string("tiny_polygons");
state.json_write_number(strategies[i].tiny_polygons);
any = true;
}
if (strategies[i].tile_size > 0) {
state.json_write_string("tile_size_desired");
state.json_write_number(strategies[i].tile_size);