mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-04-05 10:09:08 +00:00
Report every 10000 features on input, since parsing GeoJSON is slow.
This commit is contained in:
parent
389c89bdf9
commit
65ec829de6
@ -441,8 +441,8 @@ void read_json(FILE *f, char *fname, char *layername, int maxzoom, int minzoom,
|
||||
}
|
||||
}
|
||||
|
||||
if (seq % 100000 == 0) {
|
||||
fprintf(stderr, "Read %.1f million features\r", seq / 1000000.0);
|
||||
if (seq % 10000 == 0) {
|
||||
fprintf(stderr, "Read %.2f million features\r", seq / 1000000.0);
|
||||
}
|
||||
seq++;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user