From 32010fc893b5f32c33ef2fe0359e9cf3b6cc9454 Mon Sep 17 00:00:00 2001 From: Eric Fischer Date: Wed, 17 Dec 2014 17:08:04 -0800 Subject: [PATCH] Oops. Do a lot less progress indicator I/O. --- tile.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/tile.cc b/tile.cc index a7fcb972..d8fe408b 100644 --- a/tile.cc +++ b/tile.cc @@ -388,6 +388,7 @@ long long write_tile(char **geoms, char *metabase, unsigned *file_bbox, int z, u double progress = floor((((*geoms - geomstart + along) / (double) todo) + z) / (file_maxzoom + 1) * 1000) / 10; if (progress != oprogress) { fprintf(stderr, " %3.1f%% %d/%u/%u \r", progress, z, tx, ty); + oprogress = progress; } int quick = quick_check(bbox, z, line_detail, buffer);