mirror of
https://github.com/maplibre/martin.git
synced 2024-12-30 10:22:27 +03:00
e72f53d9ef
Partial fix of #1002 * [x] Move all summary code from `mbtiles/src/mbtiles.rs` to `mbtiles/src/summary.rs` * [x] Move Metadata and Validation function to separate files * [x] Remove `filename` String from the summary stats - not much point because it is accessible from the mbtiles struct itself --------- Co-authored-by: Yuri Astrakhan <YuriAstrakhan@gmail.com>
17 lines
815 B
Plaintext
17 lines
815 B
Plaintext
MBTiles file summary for ./tests/fixtures/mbtiles/world_cities.mbtiles
|
|
Schema: flat
|
|
File size: 48.00KiB
|
|
Page size: 4.00KiB
|
|
Page count: 12
|
|
|
|
| Zoom | Count |Smallest | Largest | Average | BBox |
|
|
| 0| 1| 1.08KiB| 1.08KiB| 1.08KiB| -180,-85,180,85 |
|
|
| 1| 4| 160B| 650B| 366B| -180,-85,180,85 |
|
|
| 2| 7| 137B| 495B| 239B| -180,-67,180,67 |
|
|
| 3| 17| 67B| 246B| 134B| -135,-41,180,67 |
|
|
| 4| 38| 64B| 175B| 86B| -135,-41,180,67 |
|
|
| 5| 57| 64B| 107B| 72B| -124,-41,180,62 |
|
|
| 6| 72| 64B| 97B| 68B| -124,-41,180,62 |
|
|
| all| 196| 64B| 1.0KiB| 96B| -180,-85,180,85 |
|
|
|