From c177b8bed248c8dceab15af141ce24c085f01023 Mon Sep 17 00:00:00 2001 From: Eric Fischer Date: Thu, 11 Dec 2014 16:08:53 -0800 Subject: [PATCH] No need to remove no-ops here unless we clipped --- tile.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tile.cc b/tile.cc index d96c0efb..e4e55a9a 100644 --- a/tile.cc +++ b/tile.cc @@ -414,9 +414,9 @@ long long write_tile(char **geoms, char *metabase, unsigned *file_bbox, int z, u if (t == VT_POINT) { 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 (geom.size() > 0) {