mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-01-22 12:28:03 +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
|
## 1.12.10
|
||||||
|
|
||||||
* Pass feature IDs through in tile-join
|
* Pass feature IDs through in tile-join
|
||||||
|
4
tile.cpp
4
tile.cpp
@ -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();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
#define VERSION "tippecanoe v1.12.10\n"
|
#define VERSION "tippecanoe v1.12.11\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user