13#ifndef GDALALG_RASTER_UPDATE_INCLUDED
14#define GDALALG_RASTER_UPDATE_INCLUDED
16#include "gdalalgorithm.h"
18#include "gdalalg_clip_common.h"
32 static constexpr const char *NAME =
"update";
33 static constexpr const char *DESCRIPTION =
34 "Update the destination raster with the content of the input one.";
35 static constexpr const char *HELP_URL =
"/programs/gdal_raster_update.html";
37 explicit GDALRasterUpdateAlgorithm();
40 bool RunImpl(GDALProgressFunc pfnProgress,
void *pProgressData)
override;
42 GDALArgDatasetValue m_inputDataset{};
43 std::vector<std::string> m_openOptions{};
44 std::vector<std::string> m_inputFormats{};
46 GDALArgDatasetValue m_outputDataset{};
49 std::string m_resampling{};
50 std::vector<std::string> m_warpOptions{};
51 std::vector<std::string> m_transformOptions{};
52 double m_errorThreshold = std::numeric_limits<double>::quiet_NaN();
53 bool m_noUpdateOverviews =
false;
GDAL algorithm.
Definition gdalalgorithm_cpp.h:2261