13#ifndef GDALALG_RASTER_STACK_INCLUDED
14#define GDALALG_RASTER_STACK_INCLUDED
16#include "gdalalg_raster_mosaic_stack_common.h"
24class GDALRasterStackAlgorithm
25 :
public GDALRasterMosaicStackCommonAlgorithm
28 static constexpr const char *NAME =
"stack";
29 static constexpr const char *DESCRIPTION =
30 "Combine together input bands into a multi-band output, either virtual "
31 "(VRT) or materialized.";
32 static constexpr const char *HELP_URL =
"/programs/gdal_raster_stack.html";
34 explicit GDALRasterStackAlgorithm(
bool bStandalone =
false);
36 bool CanBeFirstStep()
const override
42 bool RunStep(GDALPipelineStepRunContext &ctxt)
override;
49class GDALRasterStackAlgorithmStandalone final :
public GDALRasterStackAlgorithm
52 GDALRasterStackAlgorithmStandalone()
53 : GDALRasterStackAlgorithm( true)
57 ~GDALRasterStackAlgorithmStandalone()
override;