13#ifndef GDALALG_RASTER_MOSAIC_STACK_COMMON_INCLUDED
14#define GDALALG_RASTER_MOSAIC_STACK_COMMON_INCLUDED
16#include "gdalalg_raster_pipeline.h"
25class GDALRasterMosaicStackCommonAlgorithm
26 :
public GDALRasterPipelineStepAlgorithm
29 GDALRasterMosaicStackCommonAlgorithm(
const std::string &name,
30 const std::string &description,
31 const std::string &helpURL,
34 static ConstructorOptions GetConstructorOptions(
bool standaloneStep);
37 bool RunImpl(GDALProgressFunc pfnProgress,
void *pProgressData)
override;
39 bool GetInputDatasetNames(GDALPipelineStepRunContext &ctxt,
40 std::vector<GDALDatasetH> &ahInputDatasets,
41 CPLStringList &aosInputDatasetNames,
44 void SetBuildVRTOptions(CPLStringList &aosOptions);
46 std::string m_resolution{};
47 std::vector<double> m_bbox{};
48 bool m_targetAlignedPixels =
false;
49 std::vector<double> m_srcNoData{};
50 std::vector<double> m_dstNoData{};
51 std::vector<int> m_bands{};
52 bool m_hideNoData =
false;
53 bool m_writeAbsolutePaths =
false;
Various convenience functions for working with strings and string lists.