Skip to main content

Crate oxigdal_core

Crate oxigdal_core 

Source
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 support
  • alloc - Enable allocation support without full std
  • arrow - Enable Apache Arrow integration for zero-copy buffers
  • async - Enable async I/O traits

§Core Types

§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 OxiGDAL Core
types
Core geospatial types for OxiGDAL
vector
Vector data types and utilities

Macros§

ensure
Macro for precondition checking with automatic error creation

Constants§

NAME
Crate name
VERSION
Crate version