You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.4 KiB
47 lines
1.4 KiB
/******************************************************************************
|
|
*
|
|
* Project: GDAL
|
|
* Purpose: "write" step of "raster pipeline"
|
|
* Author: Even Rouault <even dot rouault at spatialys.com>
|
|
*
|
|
******************************************************************************
|
|
* Copyright (c) 2024, Even Rouault <even dot rouault at spatialys.com>
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
****************************************************************************/
|
|
|
|
#ifndef GDALALG_RASTER_WRITE_INCLUDED
|
|
#define GDALALG_RASTER_WRITE_INCLUDED
|
|
|
|
#include "gdalalg_raster_pipeline.h"
|
|
|
|
//! @cond Doxygen_Suppress
|
|
|
|
/************************************************************************/
|
|
/* GDALRasterWriteAlgorithm */
|
|
/************************************************************************/
|
|
|
|
class GDALRasterWriteAlgorithm final : public GDALRasterPipelineStepAlgorithm
|
|
{
|
|
public:
|
|
static constexpr const char *NAME = "write";
|
|
static constexpr const char *DESCRIPTION = "Write a raster dataset.";
|
|
static constexpr const char *HELP_URL =
|
|
"/programs/gdal_raster_pipeline.html";
|
|
|
|
GDALRasterWriteAlgorithm();
|
|
|
|
bool IsNativelyStreamingCompatible() const override
|
|
{
|
|
return false;
|
|
}
|
|
|
|
private:
|
|
friend class GDALRasterPipelineStepAlgorithm;
|
|
bool RunStep(GDALRasterPipelineStepRunContext &ctxt) override;
|
|
};
|
|
|
|
//! @endcond
|
|
|
|
#endif /* GDALALG_RASTER_WRITE_INCLUDED */
|