pub struct RasterMetadata<U>where
U: RasterType,{
pub layers: Vec<Layer>,
pub shape: RasterDataShape,
pub(crate) block_size: BlockSize,
pub epsg_code: u32,
pub geo_transform: GeoTransform,
pub overlap_size: usize,
pub date_indices: Vec<DateType>,
pub layer_indices: Vec<String>,
pub na_value: U,
}Expand description
Metadata describing a raster dataset’s structure, CRS, and band configuration.
Fields§
§layers: Vec<Layer>Layers (bands) in this dataset
shape: RasterDataShapeShape of the raster data (times, layers, rows, cols)
block_size: BlockSize§epsg_code: u32EPSG coordinate reference system code
geo_transform: GeoTransformGeographic transformation parameters
overlap_size: usizeSize of overlap between blocks
date_indices: Vec<DateType>Date indices for time-series data
layer_indices: Vec<String>Layer identifiers
na_value: UNo-data value
Implementations§
Source§impl<U> RasterMetadata<U>where
U: RasterType,
impl<U> RasterMetadata<U>where
U: RasterType,
Trait Implementations§
Source§impl<U> Clone for RasterMetadata<U>where
U: RasterType + Clone,
impl<U> Clone for RasterMetadata<U>where
U: RasterType + Clone,
Source§fn clone(&self) -> RasterMetadata<U>
fn clone(&self) -> RasterMetadata<U>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<U> Debug for RasterMetadata<U>where
U: RasterType + Debug,
impl<U> Debug for RasterMetadata<U>where
U: RasterType + Debug,
Source§impl<U> Default for RasterMetadata<U>where
U: RasterType,
impl<U> Default for RasterMetadata<U>where
U: RasterType,
Source§impl<U> PartialEq for RasterMetadata<U>where
U: RasterType + PartialEq,
impl<U> PartialEq for RasterMetadata<U>where
U: RasterType + PartialEq,
impl<U> StructuralPartialEq for RasterMetadata<U>where
U: RasterType,
Auto Trait Implementations§
impl<U> Freeze for RasterMetadata<U>where
U: Freeze,
impl<U> RefUnwindSafe for RasterMetadata<U>where
U: RefUnwindSafe,
impl<U> Send for RasterMetadata<U>
impl<U> Sync for RasterMetadata<U>
impl<U> Unpin for RasterMetadata<U>where
U: Unpin,
impl<U> UnwindSafe for RasterMetadata<U>where
U: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more