pub struct CreateOptions {
pub format: OutputFormat,
pub crs: Option<String>,
pub compression: CompressionType,
pub tile_size: Option<(u32, u32)>,
pub decimal_precision: Option<u8>,
pub nodata: Option<f64>,
pub predictor: Option<u8>,
}Expand description
Configuration snapshot captured by DatasetCreateBuilder.
Stored inside DatasetWriter for later inspection.
Fields§
§format: OutputFormatOutput format
crs: Option<String>CRS string (EPSG code, WKT2, or PROJ definition)
compression: CompressionTypeCompression algorithm
tile_size: Option<(u32, u32)>Tile / block size (width, height) in pixels
decimal_precision: Option<u8>Number of decimal places for vector coordinate precision
nodata: Option<f64>Nodata value (for raster outputs)
predictor: Option<u8>Predictor for LZW/DEFLATE (1 = none, 2 = horizontal, 3 = floating-point)
Trait Implementations§
Source§impl Clone for CreateOptions
impl Clone for CreateOptions
Source§fn clone(&self) -> CreateOptions
fn clone(&self) -> CreateOptions
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 moreAuto Trait Implementations§
impl Freeze for CreateOptions
impl RefUnwindSafe for CreateOptions
impl Send for CreateOptions
impl Sync for CreateOptions
impl Unpin for CreateOptions
impl UnsafeUnpin for CreateOptions
impl UnwindSafe for CreateOptions
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