-
-
Notifications
You must be signed in to change notification settings - Fork 225
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor mbtiles summary improvements (#1004)
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 <[email protected]>
- Loading branch information
1 parent
b56d019
commit e72f53d
Showing
8 changed files
with
1,127 additions
and
1,062 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,33 @@ | ||
#![doc = include_str!("../README.md")] | ||
#![allow(clippy::missing_errors_doc)] | ||
|
||
mod copier; | ||
pub use copier::{CopyDuplicateMode, MbtilesCopier}; | ||
|
||
mod errors; | ||
pub use errors::{MbtError, MbtResult}; | ||
|
||
mod mbtiles; | ||
pub use mbtiles::{ | ||
calc_agg_tiles_hash, IntegrityCheckType, MbtType, MbtTypeCli, Mbtiles, Metadata, | ||
AGG_TILES_HASH, AGG_TILES_HASH_IN_DIFF, | ||
}; | ||
pub use mbtiles::{MbtTypeCli, Mbtiles}; | ||
|
||
mod pool; | ||
pub use pool::MbtilesPool; | ||
|
||
mod copier; | ||
pub use copier::{CopyDuplicateMode, MbtilesCopier}; | ||
mod metadata; | ||
pub use metadata::Metadata; | ||
|
||
mod patcher; | ||
pub use patcher::apply_patch; | ||
|
||
mod pool; | ||
pub use pool::MbtilesPool; | ||
|
||
mod queries; | ||
pub use queries::{ | ||
create_flat_tables, create_flat_with_hash_tables, create_metadata_table, | ||
create_normalized_tables, is_flat_with_hash_tables_type, is_normalized_tables_type, | ||
}; | ||
|
||
mod summary; | ||
|
||
mod validation; | ||
pub use validation::{ | ||
calc_agg_tiles_hash, IntegrityCheckType, MbtType, AGG_TILES_HASH, AGG_TILES_HASH_IN_DIFF, | ||
}; |
Oops, something went wrong.