31 #ifndef GDALGRID_H_INCLUDED 32 #define GDALGRID_H_INCLUDED 46 static const char szAlgNameInvDist[] =
"invdist";
47 static const char szAlgNameInvDistNearestNeighbor[] =
"invdistnn";
48 static const char szAlgNameAverage[] =
"average";
49 static const char szAlgNameNearest[] =
"nearest";
50 static const char szAlgNameMinimum[] =
"minimum";
51 static const char szAlgNameMaximum[] =
"maximum";
52 static const char szAlgNameRange[] =
"range";
53 static const char szAlgNameCount[] =
"count";
54 static const char szAlgNameAverageDistance[] =
"average_distance";
55 static const char szAlgNameAverageDistancePts[] =
"average_distance_pts";
56 static const char szAlgNameLinear[] =
"linear";
62 const double *,
const double *,
64 double, double,
double *,
70 const double *,
const double *,
72 double,
double,
double *,
76 const double *,
const double *,
78 double,
double,
double *,
82 const double *,
const double *,
84 double,
double,
double *,
88 const double *,
const double *,
const double *,
89 double,
double,
double *,
93 const double *,
const double *,
const double *,
94 double,
double,
double *,
98 const double *,
const double *,
const double *,
99 double,
double,
double *,
103 const double *,
const double *,
const double *,
104 double,
double,
double *,
108 const double *,
const double *,
const double *,
109 double,
double,
double *,
113 const double *,
const double *,
const double *,
114 double,
double,
double *,
118 const double *,
const double *,
119 const double *,
double,
double,
double *,
123 const double *,
const double *,
124 const double *,
double,
double,
129 const double *,
const double *,
131 double,
double,
double *,
#define CPL_C_START
Macro to start a block of C symbols.
Definition: cpl_port.h:337
CPLErr GDALGridDataMetricAverageDistance(const void *, GUInt32, const double *, const double *, const double *, double, double, double *, void *)
Average distance (data metric).
Definition: gdalgrid.cpp:1211
CPLErr GDALGridInverseDistanceToAPowerNearestNeighbor(const void *, GUInt32, const double *, const double *, const double *, double, double, double *, void *)
Inverse distance to a power with nearest neighbor search, ideal when max_points used.
Definition: gdalgrid.cpp:260
CPLErr GDALGridInverseDistanceToAPowerNoSearch(const void *, GUInt32, const double *, const double *, const double *, double, double, double *, void *)
Inverse distance to a power for whole data set.
Definition: gdalgrid.cpp:406
CPLErr GDALGridDataMetricMinimum(const void *, GUInt32, const double *, const double *, const double *, double, double, double *, void *)
Minimum data value (data metric).
Definition: gdalgrid.cpp:784
CPLErr GDALGridDataMetricRange(const void *, GUInt32, const double *, const double *, const double *, double, double, double *, void *)
Data range (data metric).
Definition: gdalgrid.cpp:1002
unsigned int GUInt32
Unsigned int32 type.
Definition: cpl_port.h:207
GDALGridAlgorithm
Gridding Algorithms.
Definition: gdal_alg.h:373
CPLErr GDALGridNearestNeighbor(const void *, GUInt32, const double *, const double *, const double *, double, double, double *, void *)
Nearest neighbor.
Definition: gdalgrid.cpp:631
CPLErr GDALGridDataMetricMaximum(const void *, GUInt32, const double *, const double *, const double *, double, double, double *, void *)
Maximum data value (data metric).
Definition: gdalgrid.cpp:892
CPLErr GDALGridDataMetricCount(const void *, GUInt32, const double *, const double *, const double *, double, double, double *, void *)
Number of data points (data metric).
Definition: gdalgrid.cpp:1111
CPLErr GDALGridInverseDistanceToAPower(const void *, GUInt32, const double *, const double *, const double *, double, double, double *, void *)
Inverse distance to a power.
Definition: gdalgrid.cpp:127
CPLErr GDALGridMovingAverage(const void *, GUInt32, const double *, const double *, const double *, double, double, double *, void *)
Moving average.
Definition: gdalgrid.cpp:542
CPLErr GDALGridLinear(const void *, GUInt32, const double *, const double *, const double *, double, double, double *, void *)
Linear interpolation.
Definition: gdalgrid.cpp:1438
Public (C callable) GDAL algorithm entry points, and definitions.
CPLErr ParseAlgorithmAndOptions(const char *, GDALGridAlgorithm *, void **)
Translates mnemonic gridding algorithm names into GDALGridAlgorithm code, parse control parameters an...
Definition: gdalgrid.cpp:2453
#define CPL_C_END
Macro to end a block of C symbols.
Definition: cpl_port.h:339
CPLErr GDALGridDataMetricAverageDistancePts(const void *, GUInt32, const double *, const double *, const double *, double, double, double *, void *)
Average distance between points (data metric).
Definition: gdalgrid.cpp:1316
CPLErr
Error category.
Definition: cpl_error.h:52