oxigdal-gpkg 0.1.3

Pure Rust GeoPackage (GPKG) reader for OxiGDAL - SQLite format parser without C dependencies
Documentation
  • Coverage
  • 100%
    173 out of 173 items documented2 out of 63 items with examples
  • Size
  • Source code size: 119.28 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 7.32 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 22s Average build duration of successful builds.
  • all releases: 22s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • cool-japan/oxigdal
    48 3 2
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • cool-japan

oxigdal-gpkg

Pure Rust GeoPackage (GPKG) reader and writer for the OxiGDAL ecosystem. Includes a minimal SQLite binary format parser -- no C/FFI dependencies required.

Features

  • SQLite binary format parser (SqliteReader, SqliteHeader)
  • GeoPackage schema layer (GeoPackage, GpkgContents, GpkgSrs)
  • Vector feature tables with WKB geometry parsing (8 geometry types, big/little endian)
  • GeoPackage Binary (GPB) header parsing
  • Tile matrix support for raster tiles
  • Bbox filtering and GeoJSON output

Usage

use oxigdal_gpkg::{SqliteReader, GeoPackage};

let data: &[u8] = &[/* gpkg file bytes */];
let reader = SqliteReader::new(data).expect("valid SQLite");
let gpkg = GeoPackage::open(&reader).expect("valid GeoPackage");

for table in gpkg.contents() {
    println!("Table: {} (type: {:?})", table.table_name, table.data_type);
}

Status

  • 156 tests passing, 0 failures

License

See the top-level OxiGDAL repository for license details.