13#ifndef GDALALG_VECTOR_REPROJECT_INCLUDED
14#define GDALALG_VECTOR_REPROJECT_INCLUDED
16#include "gdalalg_vector_pipeline.h"
24class GDALVectorReprojectAlgorithm
25 :
public GDALVectorPipelineStepAlgorithm
28 static constexpr const char *NAME =
"reproject";
29 static constexpr const char *DESCRIPTION =
"Reproject a vector dataset.";
30 static constexpr const char *HELP_URL =
31 "/programs/gdal_vector_pipeline.html";
33 explicit GDALVectorReprojectAlgorithm(
bool standaloneStep =
false);
36 bool RunStep(GDALPipelineStepRunContext &ctxt)
override;
38 std::string m_activeLayer{};
39 std::string m_srsCrs{};
40 std::string m_dstCrs{};
47class GDALVectorReprojectAlgorithmStandalone final
48 :
public GDALVectorReprojectAlgorithm
51 GDALVectorReprojectAlgorithmStandalone()
52 : GDALVectorReprojectAlgorithm( true)
56 ~GDALVectorReprojectAlgorithmStandalone()
override;