Expand description
OxiGDAL Core - Pure Rust Geospatial Abstractions
This crate provides the core types and traits for the OxiGDAL ecosystem,
a pure Rust reimplementation of GDAL for cloud-native geospatial computing.
§Features
std(default) - Enable standard library supportalloc- Enable allocation support without full stdarrow- Enable Apache Arrow integration for zero-copy buffersasync- Enable async I/O traits
§Core Types
BoundingBox- 2D spatial extentGeoTransform- Affine transformation for georeferencingRasterDataType- Pixel data typesbuffer::RasterBuffer- Typed raster data buffer
§Example
use oxigdal_core::types::{BoundingBox, GeoTransform, RasterDataType};
use oxigdal_core::buffer::RasterBuffer;
use oxigdal_core::error::Result;
// Create a bounding box
let bbox = BoundingBox::new(-180.0, -90.0, 180.0, 90.0)?;
// Create a geotransform for a 1-degree resolution grid
let gt = GeoTransform::from_bounds(&bbox, 360, 180)?;
// Create a raster buffer
let buffer = RasterBuffer::zeros(360, 180, RasterDataType::Float32);Re-exports§
pub use error::OxiGdalError;pub use error::Result;pub use types::BoundingBox;pub use types::GeoTransform;pub use types::RasterDataType;pub use types::RasterMetadata;
Modules§
- buffer
- Buffer types for raster and vector data
- error
- Error types for
OxiGDAL - io
- I/O abstractions for geospatial data access
- memory
- Advanced Memory Optimization for Geospatial Data
- simd_
buffer - SIMD-aligned buffer management for high-performance raster operations
- tutorials
- Getting Started with
OxiGDALCore - types
- Core geospatial types for
OxiGDAL - vector
- Vector data types and utilities
Macros§
- ensure
- Macro for precondition checking with automatic error creation