mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-05 09:55:41 +02:00
Don't try to revive a placeholder for a degenerate polygon with negative area
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -498,7 +498,11 @@ void *partial_feature_worker(void *v) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (geoms[g].size() < 3) {
|
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
@@ -1 +1 @@
|
|||||||
#define VERSION "tippecanoe v1.12.10\n"
|
#define VERSION "tippecanoe v1.12.11\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user