GDAL
gdalgrid.h
Go to the documentation of this file.
1 /******************************************************************************
2  * $Id: gdalgrid.h 19726 2010-05-16 11:43:09Z ilucena $
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  *
11  * Permission is hereby granted, free of charge, to any person obtaining a
12  * copy of this software and associated documentation files (the "Software"),
13  * to deal in the Software without restriction, including without limitation
14  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
15  * and/or sell copies of the Software, and to permit persons to whom the
16  * Software is furnished to do so, subject to the following conditions:
17  *
18  * The above copyright notice and this permission notice shall be included
19  * in all copies or substantial portions of the Software.
20  *
21  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
22  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
24  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
26  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
27  * DEALINGS IN THE SOFTWARE.
28  ****************************************************************************/
29 
30 #ifndef GDALGRID_H_INCLUDED
31 #define GDALGRID_H_INCLUDED
32 
39 #include "gdal_alg.h"
40 
41 /*
42  * GridCreate Algorithm names
43  */
44 
45 static const char szAlgNameInvDist[] = "invdist";
46 static const char szAlgNameAverage[] = "average";
47 static const char szAlgNameNearest[] = "nearest";
48 static const char szAlgNameMinimum[] = "minimum";
49 static const char szAlgNameMaximum[] = "maximum";
50 static const char szAlgNameRange[] = "range";
51 static const char szAlgNameCount[] = "count";
52 static const char szAlgNameAverageDistance[] = "average_distance";
53 static const char szAlgNameAverageDistancePts[] = "average_distance_pts";
54 
55 CPL_C_START
56 
57 typedef CPLErr (*GDALGridFunction)( const void *, GUInt32,
58  const double *, const double *,
59  const double *,
60  double, double, double *);
61 CPLErr
62 GDALGridInverseDistanceToAPower( const void *, GUInt32,
63  const double *, const double *,
64  const double *,
65  double, double, double * );
66 CPLErr
67 GDALGridInverseDistanceToAPowerNoSearch( const void *, GUInt32,
68  const double *, const double *,
69  const double *,
70  double, double, double * );
71 CPLErr
72 GDALGridMovingAverage( const void *, GUInt32,
73  const double *, const double *, const double *,
74  double, double, double * );
75 CPLErr
76 GDALGridNearestNeighbor( const void *, GUInt32,
77  const double *, const double *, const double *,
78  double, double, double * );
79 CPLErr
80 GDALGridDataMetricMinimum( const void *, GUInt32,
81  const double *, const double *, const double *,
82  double, double, double * );
83 CPLErr
84 GDALGridDataMetricMaximum( const void *, GUInt32,
85  const double *, const double *, const double *,
86  double, double, double * );
87 CPLErr
88 GDALGridDataMetricRange( const void *, GUInt32,
89  const double *, const double *, const double *,
90  double, double, double * );
91 CPLErr
92 GDALGridDataMetricCount( const void *, GUInt32,
93  const double *, const double *, const double *,
94  double, double, double * );
95 CPLErr
96 GDALGridDataMetricAverageDistance( const void *, GUInt32,
97  const double *, const double *,
98  const double *, double, double, double * );
99 CPLErr
100 GDALGridDataMetricAverageDistancePts( const void *, GUInt32,
101  const double *, const double *,
102  const double *, double, double,
103  double * );
104 CPLErr CPL_DLL
105 ParseAlgorithmAndOptions( const char *,
107  void ** );
108 CPL_C_END
109 
110 #endif /* GDALGRID_H_INCLUDED */

Generated for GDAL by doxygen 1.8.4.