Expand description
cdb_migrator reads OGC CDB 1.x datastores and migrates them to OGC CDB
2.0 datastores through opencdb’s public facade. Payloads are opaque
bytes: this crate copies them, never decodes them.
Re-exports§
pub use reader::Cdb1Entry;pub use reader::Cdb1TileRef;pub use reader::Cdb1Tree;pub use reader::GlobalKind;pub use reader::Inventory;
Modules§
- address
- Maps CDB 1.x per-geocell tile coordinates to and from
Cdb1GlobalGrid. - cli
- Command-line argument parsing and execution with injected output streams.
- grammar
- The CDB 1.x name grammar of OGC 15-113r6 §8.6.2–8.6.3: geocell directories, dataset directories, LOD and UREF directories, and the tiled-dataset file naming convention. Parsing accepts ASCII case variants; formatting reconstructs canonical grammar tokens while retaining arbitrary dataset labels verbatim. Callers that need original-byte provenance preserve the raw source path separately.
- metadata_
input - Explicit operator metadata input; payload contents remain opaque.
- migrate
- The migration yardstick and its portable cdb-lint descriptor.
- plan
- Pure, source-bound migration planning.
- reader
- Total, deterministic inspection of a CDB 1.x source tree.
- version_
meta - Supported-subset readers for Version.xml and Configuration.xml.
Enums§
- Cdb1
Error - Failure to inspect or accept a CDB 1.x datastore.