Don't try to revive a placeholder for a degenerate polygon with negative area

This commit is contained in:
Eric Fischer 2016-08-24 12:34:28 -07:00
parent 85fd49f28c
commit 9161b74d99
3 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,7 @@
## 1.12.11
* Don't try to revive a placeholder for a degenerate polygon that had negative area
## 1.12.10 ## 1.12.10
* Pass feature IDs through in tile-join * Pass feature IDs through in tile-join

View File

@ -498,7 +498,11 @@ void *partial_feature_worker(void *v) {
} }
if (geoms[g].size() < 3) { if (geoms[g].size() < 3) {
if (area > 0) {
geoms[g] = revive_polygon(before, area / geoms.size(), z, line_detail); geoms[g] = revive_polygon(before, area / geoms.size(), z, line_detail);
} else {
geoms[g].clear();
}
} }
} }
} }

View File

@ -1 +1 @@
#define VERSION "tippecanoe v1.12.10\n" #define VERSION "tippecanoe v1.12.11\n"