Oops. Do a lot less progress indicator I/O.

This commit is contained in:
Eric Fischer 2014-12-17 17:08:04 -08:00
parent 48b5db6ae5
commit 32010fc893

View File

@ -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);