13#ifndef GDALALG_VECTOR_GRID_INVDISTNN_INCLUDED
14#define GDALALG_VECTOR_GRID_INVDISTNN_INCLUDED
16#include "gdalalg_vector_grid.h"
26class GDALVectorGridInvdistNNAlgorithm
27 :
public GDALVectorGridAbstractAlgorithm
30 static constexpr const char *NAME =
"invdistnn";
31 static constexpr const char *DESCRIPTION =
32 "Create a regular grid from scattered points using weighted inverse "
33 "distance interpolation nearest neighbour.";
34 static constexpr const char *HELP_URL =
"/programs/gdal_vector_grid.html";
36 explicit GDALVectorGridInvdistNNAlgorithm(
bool standaloneStep =
false);
38 std::string GetGridAlgorithm()
const override;
42 double m_smoothing = 0.0;
49class GDALVectorGridInvdistNNAlgorithmStandalone final
50 :
public GDALVectorGridInvdistNNAlgorithm
53 GDALVectorGridInvdistNNAlgorithmStandalone()
54 : GDALVectorGridInvdistNNAlgorithm( true)
58 ~GDALVectorGridInvdistNNAlgorithmStandalone()
override;