GDAL

- Main Page
- Related Pages
- Classes
- Files

- File List
- File Members

gdalgrid.h
Go to the documentation of this file.
1 /******************************************************************************
2 * $Id: gdalgrid.h 29541 2015-07-20 14:03:42Z rouault $
3 *
4 * Project: GDAL Gridding API.
5 * Purpose: Prototypes, and definitions for of GDAL scattered data gridder.
6 * Author: Andrey Kiselev, dron@ak4719.spb.edu
7 *
8 ******************************************************************************
9 * Copyright (c) 2007, Andrey Kiselev <dron@ak4719.spb.edu>
10 * Copyright (c) 2012, Even Rouault <even dot rouault at mines-paris dot org>
11 *
12 * Permission is hereby granted, free of charge, to any person obtaining a
13 * copy of this software and associated documentation files (the "Software"),
14 * to deal in the Software without restriction, including without limitation
15 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
16 * and/or sell copies of the Software, and to permit persons to whom the
17 * Software is furnished to do so, subject to the following conditions:
18 *
19 * The above copyright notice and this permission notice shall be included
20 * in all copies or substantial portions of the Software.
21 *
22 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
23 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
25 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
27 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
28 * DEALINGS IN THE SOFTWARE.
29 ****************************************************************************/
30
31 #ifndef GDALGRID_H_INCLUDED
32 #define GDALGRID_H_INCLUDED
33
40 #include "gdal_alg.h"
41
42 /*
43 * GridCreate Algorithm names
44 */
45
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";
57
58 CPL_C_START
59
60 typedef CPLErr (*GDALGridFunction)( const void *, GUInt32,
61 const double *, const double *,
62 const double *,
63 double, double, double *,
64 void* );
65 CPLErr
66 GDALGridInverseDistanceToAPower( const void *, GUInt32,
67 const double *, const double *,
68 const double *,
69 double, double, double *,
70 void* );
71 CPLErr
72 GDALGridInverseDistanceToAPowerNearestNeighbor( const void *, GUInt32,
73 const double *, const double *,
74 const double *,
75 double, double, double *,
76 void* );
77 CPLErr
78 GDALGridInverseDistanceToAPowerNoSearch( const void *, GUInt32,
79 const double *, const double *,
80 const double *,
81 double, double, double *,
82 void* );
83 CPLErr
84 GDALGridMovingAverage( const void *, GUInt32,
85 const double *, const double *, const double *,
86 double, double, double *,
87 void* );
88 CPLErr
89 GDALGridNearestNeighbor( const void *, GUInt32,
90 const double *, const double *, const double *,
91 double, double, double *,
92 void* );
93 CPLErr
94 GDALGridDataMetricMinimum( const void *, GUInt32,
95 const double *, const double *, const double *,
96 double, double, double *,
97 void* );
98 CPLErr
99 GDALGridDataMetricMaximum( const void *, GUInt32,
100 const double *, const double *, const double *,
101 double, double, double *,
102 void* );
103 CPLErr
104 GDALGridDataMetricRange( const void *, GUInt32,
105 const double *, const double *, const double *,
106 double, double, double *,
107 void* );
108 CPLErr
109 GDALGridDataMetricCount( const void *, GUInt32,
110 const double *, const double *, const double *,
111 double, double, double *,
112 void* );
113 CPLErr
114 GDALGridDataMetricAverageDistance( const void *, GUInt32,
115 const double *, const double *,
116 const double *, double, double, double *,
117 void* );
118 CPLErr
119 GDALGridDataMetricAverageDistancePts( const void *, GUInt32,
120 const double *, const double *,
121 const double *, double, double,
122 double *,
123 void* );
124 CPLErr
125 GDALGridLinear( const void *, GUInt32,
126 const double *, const double *,
127 const double *,
128 double, double, double *,
129 void* );
130
131 CPLErr CPL_DLL
132 ParseAlgorithmAndOptions( const char *,
133 GDALGridAlgorithm *,
134 void ** );
135 CPL_C_END
136
137 #endif /* GDALGRID_H_INCLUDED */
GDALGridDataMetricAverageDistance
CPLErr GDALGridDataMetricAverageDistance(const void *, GUInt32, const double *, const double *, const double *, double, double, double *, void *)
Average distance (data metric).
Definition: gdalgrid.cpp:1234
GDALGridInverseDistanceToAPowerNearestNeighbor
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:265
GDALGridInverseDistanceToAPowerNoSearch
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:401
GDALGridDataMetricMinimum
CPLErr GDALGridDataMetricMinimum(const void *, GUInt32, const double *, const double *, const double *, double, double, double *, void *)
Minimum data value (data metric).
Definition: gdalgrid.cpp:794
GDALGridDataMetricRange
CPLErr GDALGridDataMetricRange(const void *, GUInt32, const double *, const double *, const double *, double, double, double *, void *)
Data range (data metric).
Definition: gdalgrid.cpp:1019
GDALGridAlgorithm
GDALGridAlgorithm
Gridding Algorithms.
Definition: gdal_alg.h:356
GDALGridNearestNeighbor
CPLErr GDALGridNearestNeighbor(const void *, GUInt32, const double *, const double *, const double *, double, double, double *, void *)
Nearest neighbor.
Definition: gdalgrid.cpp:635
GDALGridDataMetricMaximum
CPLErr GDALGridDataMetricMaximum(const void *, GUInt32, const double *, const double *, const double *, double, double, double *, void *)
Maximum data value (data metric).
Definition: gdalgrid.cpp:906
GDALGridDataMetricCount
CPLErr GDALGridDataMetricCount(const void *, GUInt32, const double *, const double *, const double *, double, double, double *, void *)
Number of data points (data metric).
Definition: gdalgrid.cpp:1131
GDALGridInverseDistanceToAPower
CPLErr GDALGridInverseDistanceToAPower(const void *, GUInt32, const double *, const double *, const double *, double, double, double *, void *)
Inverse distance to a power.
Definition: gdalgrid.cpp:121
GDALGridMovingAverage
CPLErr GDALGridMovingAverage(const void *, GUInt32, const double *, const double *, const double *, double, double, double *, void *)
Moving average.
Definition: gdalgrid.cpp:540
GDALGridLinear
CPLErr GDALGridLinear(const void *, GUInt32, const double *, const double *, const double *, double, double, double *, void *)
Linear interpolation.
Definition: gdalgrid.cpp:1472
gdal_alg.h
Public (C callable) GDAL algorithm entry points, and definitions.
GDALGridDataMetricAverageDistancePts
CPLErr GDALGridDataMetricAverageDistancePts(const void *, GUInt32, const double *, const double *, const double *, double, double, double *, void *)
Average distance between points (data metric).
Definition: gdalgrid.cpp:1345

Generated for GDAL by 1.8.8.