mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-02-23 18:40:17 +00:00
No need to remove no-ops here unless we clipped
This commit is contained in:
parent
d69431e16b
commit
c177b8bed2
4
tile.cc
4
tile.cc
@ -414,9 +414,9 @@ long long write_tile(char **geoms, char *metabase, unsigned *file_bbox, int z, u
|
|||||||
if (t == VT_POINT) {
|
if (t == VT_POINT) {
|
||||||
geom = clip_point(geom, z, line_detail, buffer);
|
geom = clip_point(geom, z, line_detail, buffer);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
geom = remove_noop(geom, t);
|
geom = remove_noop(geom, t);
|
||||||
|
}
|
||||||
|
|
||||||
if (line_detail == detail) { /* only write out the next zoom once, even if we retry */
|
if (line_detail == detail) { /* only write out the next zoom once, even if we retry */
|
||||||
if (geom.size() > 0) {
|
if (geom.size() > 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user