kopia lustrzana https://github.com/onthegomap/planetiler
Fix max tile size in stats output. (#399)
rodzic
762d052b10
commit
9e4eb45baa
|
@ -391,6 +391,7 @@ public class MbtilesWriter {
|
||||||
sumSize += totalSize;
|
sumSize += totalSize;
|
||||||
sumCount += totalCount;
|
sumCount += totalCount;
|
||||||
long maxSize = maxTileSizesByZoom[z].get();
|
long maxSize = maxTileSizesByZoom[z].get();
|
||||||
|
maxMax = Math.max(maxMax, maxSize);
|
||||||
LOGGER.debug("z{} avg:{} max:{}",
|
LOGGER.debug("z{} avg:{} max:{}",
|
||||||
z,
|
z,
|
||||||
format.storage(totalCount == 0 ? 0 : (totalSize / totalCount), false),
|
format.storage(totalCount == 0 ? 0 : (totalSize / totalCount), false),
|
||||||
|
|
Ładowanie…
Reference in New Issue