13#ifndef GDALALG_VECTOR_GRID_NEAREST_INCLUDED
14#define GDALALG_VECTOR_GRID_NEAREST_INCLUDED
16#include "gdalalg_vector_grid.h"
24class GDALVectorGridNearestAlgorithm
25 :
public GDALVectorGridAbstractAlgorithm
28 static constexpr const char *NAME =
"nearest";
29 static constexpr const char *DESCRIPTION =
30 "Create a regular grid from scattered points using nearest neighbor "
32 static constexpr const char *HELP_URL =
"/programs/gdal_vector_grid.html";
34 explicit GDALVectorGridNearestAlgorithm(
bool standaloneStep =
false);
36 std::string GetGridAlgorithm()
const override;
43class GDALVectorGridNearestAlgorithmStandalone final
44 :
public GDALVectorGridNearestAlgorithm
47 GDALVectorGridNearestAlgorithmStandalone()
48 : GDALVectorGridNearestAlgorithm( true)
52 ~GDALVectorGridNearestAlgorithmStandalone()
override;