13#ifndef GDALALG_RASTER_RECLASSIFY_INCLUDED
14#define GDALALG_RASTER_RECLASSIFY_INCLUDED
16#include "gdalalg_raster_pipeline.h"
24class GDALRasterReclassifyAlgorithm :
public GDALRasterPipelineStepAlgorithm
27 static constexpr const char *NAME =
"reclassify";
28 static constexpr const char *DESCRIPTION =
29 "Reclassify values in a raster dataset";
30 static constexpr const char *HELP_URL =
31 "/programs/gdal_raster_reclassify.html";
33 explicit GDALRasterReclassifyAlgorithm(
bool standaloneStep =
false);
36 bool RunStep(GDALPipelineStepRunContext &ctxt)
override;
38 std::string m_mapping{};
46class GDALRasterReclassifyAlgorithmStandalone final
47 :
public GDALRasterReclassifyAlgorithm
50 GDALRasterReclassifyAlgorithmStandalone()
51 : GDALRasterReclassifyAlgorithm( true)
55 ~GDALRasterReclassifyAlgorithmStandalone()
override;