GDAL
gdalgrid.h
Go to the documentation of this file.
1 /******************************************************************************
2  * $Id: gdalgrid.h 27044 2014-03-16 23:41:27Z 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 szAlgNameAverage[] = "average";
48 static const char szAlgNameNearest[] = "nearest";
49 static const char szAlgNameMinimum[] = "minimum";
50 static const char szAlgNameMaximum[] = "maximum";
51 static const char szAlgNameRange[] = "range";
52 static const char szAlgNameCount[] = "count";
53 static const char szAlgNameAverageDistance[] = "average_distance";
54 static const char szAlgNameAverageDistancePts[] = "average_distance_pts";
55 
56 CPL_C_START
57 
58 typedef CPLErr (*GDALGridFunction)( const void *, GUInt32,
59  const double *, const double *,
60  const double *,
61  double, double, double *,
62  void* );
63 CPLErr
64 GDALGridInverseDistanceToAPower( const void *, GUInt32,
65  const double *, const double *,
66  const double *,
67  double, double, double *,
68  void* );
69 CPLErr
70 GDALGridInverseDistanceToAPowerNoSearch( const void *, GUInt32,
71  const double *, const double *,
72  const double *,
73  double, double, double *,
74  void* );
75 CPLErr
76 GDALGridMovingAverage( const void *, GUInt32,
77  const double *, const double *, const double *,
78  double, double, double *,
79  void* );
80 CPLErr
81 GDALGridNearestNeighbor( const void *, GUInt32,
82  const double *, const double *, const double *,
83  double, double, double *,
84  void* );
85 CPLErr
86 GDALGridDataMetricMinimum( const void *, GUInt32,
87  const double *, const double *, const double *,
88  double, double, double *,
89  void* );
90 CPLErr
91 GDALGridDataMetricMaximum( const void *, GUInt32,
92  const double *, const double *, const double *,
93  double, double, double *,
94  void* );
95 CPLErr
96 GDALGridDataMetricRange( const void *, GUInt32,
97  const double *, const double *, const double *,
98  double, double, double *,
99  void* );
100 CPLErr
101 GDALGridDataMetricCount( const void *, GUInt32,
102  const double *, const double *, const double *,
103  double, double, double *,
104  void* );
105 CPLErr
106 GDALGridDataMetricAverageDistance( const void *, GUInt32,
107  const double *, const double *,
108  const double *, double, double, double *,
109  void* );
110 CPLErr
111 GDALGridDataMetricAverageDistancePts( const void *, GUInt32,
112  const double *, const double *,
113  const double *, double, double,
114  double *,
115  void* );
116 CPLErr CPL_DLL
117 ParseAlgorithmAndOptions( const char *,
119  void ** );
120 CPL_C_END
121 
122 #endif /* GDALGRID_H_INCLUDED */
GDALGridAlgorithm
Gridding Algorithms.
Definition: gdal_alg.h:352
CPLErr GDALGridNearestNeighbor(const void *, GUInt32, const double *, const double *, const double *, double, double, double *, void *)
Nearest neighbor.
Definition: gdalgrid.cpp:675
Public (C callable) GDAL algorithm entry points, and definitions.

Generated for GDAL by doxygen 1.8.11.