mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-01-22 04:18:01 +00:00
Don't try to revive a placeholder for a degenerate polygon with negative area
This commit is contained in:
parent
85fd49f28c
commit
9161b74d99
@ -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
|
||||
|
||||
* Pass feature IDs through in tile-join
|
||||
|
6
tile.cpp
6
tile.cpp
@ -498,7 +498,11 @@ void *partial_feature_worker(void *v) {
|
||||
}
|
||||
|
||||
if (geoms[g].size() < 3) {
|
||||
geoms[g] = revive_polygon(before, area / geoms.size(), z, line_detail);
|
||||
if (area > 0) {
|
||||
geoms[g] = revive_polygon(before, area / geoms.size(), z, line_detail);
|
||||
} else {
|
||||
geoms[g].clear();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
#define VERSION "tippecanoe v1.12.10\n"
|
||||
#define VERSION "tippecanoe v1.12.11\n"
|
||||
|
Loading…
Reference in New Issue
Block a user