13#ifndef GDALALG_RASTER_SET_TYPE_INCLUDED
14#define GDALALG_RASTER_SET_TYPE_INCLUDED
16#include "gdalalg_raster_pipeline.h"
24class GDALRasterSetTypeAlgorithm
25 :
public GDALRasterPipelineStepAlgorithm
28 static constexpr const char *NAME =
"set-type";
29 static constexpr const char *DESCRIPTION =
30 "Modify the data type of bands of a raster dataset.";
31 static constexpr const char *HELP_URL =
32 "/programs/gdal_raster_set_type.html";
34 explicit GDALRasterSetTypeAlgorithm(
bool standaloneStep =
false);
37 bool RunStep(GDALPipelineStepRunContext &ctxt)
override;
46class GDALRasterSetTypeAlgorithmStandalone final
47 :
public GDALRasterSetTypeAlgorithm
50 GDALRasterSetTypeAlgorithmStandalone()
51 : GDALRasterSetTypeAlgorithm( true)
55 ~GDALRasterSetTypeAlgorithmStandalone()
override;