13#ifndef GDALALG_VECTOR_MAKE_POINT_INCLUDED
14#define GDALALG_VECTOR_MAKE_POINT_INCLUDED
16#include "gdalalg_vector_geom.h"
24class GDALVectorMakePointAlgorithm
25 :
public GDALVectorPipelineStepAlgorithm
28 static constexpr const char *NAME =
"make-point";
29 static constexpr const char *DESCRIPTION =
30 "Create point geometries from attribute fields";
31 static constexpr const char *HELP_URL =
32 "/programs/gdal_vector_make_point.html";
34 explicit GDALVectorMakePointAlgorithm(
bool standaloneStep =
false);
37 bool RunStep(GDALPipelineStepRunContext &ctxt)
override;
39 std::string m_xField{};
40 std::string m_yField{};
41 std::string m_zField{};
42 std::string m_mField{};
43 std::string m_dstCrs{};
50class GDALVectorMakePointAlgorithmStandalone final
51 :
public GDALVectorMakePointAlgorithm
54 GDALVectorMakePointAlgorithmStandalone()
55 : GDALVectorMakePointAlgorithm( true)
59 ~GDALVectorMakePointAlgorithmStandalone()
override;