Skip to main content

geoengine_api_client/models/
raster_stacker.rs

1/*
2 * Geo Engine API
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * Contact: dev@geoengine.de
7 * Generated by: https://openapi-generator.tech
8 */
9
10use crate::models;
11use serde::{Deserialize, Serialize};
12
13/// RasterStacker : The `RasterStacker` stacks all of its inputs into a single raster time series. It queries all inputs and combines them by band, space, and then time.  The output raster has as many bands as the sum of all input bands. Tiles are automatically temporally aligned.  All inputs must have the same data type and spatial reference.  ## Inputs  The `RasterStacker` operator expects multiple raster inputs.
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct RasterStacker {
16    #[serde(rename = "params")]
17    pub params: Box<models::RasterStackerParameters>,
18    #[serde(rename = "sources")]
19    pub sources: Box<models::MultipleRasterSources>,
20    #[serde(rename = "type")]
21    pub r#type: Type,
22}
23
24impl RasterStacker {
25    /// The `RasterStacker` stacks all of its inputs into a single raster time series. It queries all inputs and combines them by band, space, and then time.  The output raster has as many bands as the sum of all input bands. Tiles are automatically temporally aligned.  All inputs must have the same data type and spatial reference.  ## Inputs  The `RasterStacker` operator expects multiple raster inputs.
26    pub fn new(params: models::RasterStackerParameters, sources: models::MultipleRasterSources, r#type: Type) -> RasterStacker {
27        RasterStacker {
28            params: Box::new(params),
29            sources: Box::new(sources),
30            r#type,
31        }
32    }
33}
34/// 
35#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
36pub enum Type {
37    #[serde(rename = "RasterStacker")]
38    RasterStacker,
39}
40
41impl Default for Type {
42    fn default() -> Type {
43        Self::RasterStacker
44    }
45}
46