GDAL

gdal_utils.h
Go to the documentation of this file.
1 /******************************************************************************
2 * $Id$
3 *
4 * Project: GDAL Utilities
5 * Purpose: GDAL Utilities Public Declarations.
6 * Author: Faza Mahamood, fazamhd at gmail dot com
7 *
8 * ****************************************************************************
9 * Copyright (c) 1998, Frank Warmerdam
10 * Copyright (c) 2007-2015, Even Rouault <even.rouault at spatialys.com>
11 * Copyright (c) 2015, Faza Mahamood
12 *
13 * Permission is hereby granted, free of charge, to any person obtaining a
14 * copy of this software and associated documentation files (the "Software"),
15 * to deal in the Software without restriction, including without limitation
16 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
17 * and/or sell copies of the Software, and to permit persons to whom the
18 * Software is furnished to do so, subject to the following conditions:
19 *
20 * The above copyright notice and this permission notice shall be included
21 * in all copies or substantial portions of the Software.
22 *
23 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
24 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
26 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
28 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
29 * DEALINGS IN THE SOFTWARE.
30 ****************************************************************************/
31
32 #ifndef GDAL_UTILS_H_INCLUDED
33 #define GDAL_UTILS_H_INCLUDED
34
43 #include "cpl_port.h"
44 #include "gdal.h"
45
46 CPL_C_START
47
49 typedef struct GDALInfoOptions GDALInfoOptions;
50
52 typedef struct GDALInfoOptionsForBinary GDALInfoOptionsForBinary;
53
54 GDALInfoOptions CPL_DLL *
55 GDALInfoOptionsNew(char **papszArgv,
56 GDALInfoOptionsForBinary *psOptionsForBinary);
57
58 void CPL_DLL GDALInfoOptionsFree(GDALInfoOptions *psOptions);
59
60 char CPL_DLL *GDALInfo(GDALDatasetH hDataset, const GDALInfoOptions *psOptions);
61
63 typedef struct GDALTranslateOptions GDALTranslateOptions;
64
66 typedef struct GDALTranslateOptionsForBinary GDALTranslateOptionsForBinary;
67
68 GDALTranslateOptions CPL_DLL *
69 GDALTranslateOptionsNew(char **papszArgv,
70 GDALTranslateOptionsForBinary *psOptionsForBinary);
71
72 void CPL_DLL GDALTranslateOptionsFree(GDALTranslateOptions *psOptions);
73
74 void CPL_DLL GDALTranslateOptionsSetProgress(GDALTranslateOptions *psOptions,
75 GDALProgressFunc pfnProgress,
76 void *pProgressData);
77
78 GDALDatasetH CPL_DLL GDALTranslate(const char *pszDestFilename,
79 GDALDatasetH hSrcDataset,
80 const GDALTranslateOptions *psOptions,
81 int *pbUsageError);
82
84 typedef struct GDALWarpAppOptions GDALWarpAppOptions;
85
87 typedef struct GDALWarpAppOptionsForBinary GDALWarpAppOptionsForBinary;
88
89 GDALWarpAppOptions CPL_DLL *
90 GDALWarpAppOptionsNew(char **papszArgv,
91 GDALWarpAppOptionsForBinary *psOptionsForBinary);
92
93 void CPL_DLL GDALWarpAppOptionsFree(GDALWarpAppOptions *psOptions);
94
95 void CPL_DLL GDALWarpAppOptionsSetProgress(GDALWarpAppOptions *psOptions,
96 GDALProgressFunc pfnProgress,
97 void *pProgressData);
98 void CPL_DLL GDALWarpAppOptionsSetQuiet(GDALWarpAppOptions *psOptions,
99 int bQuiet);
100 void CPL_DLL GDALWarpAppOptionsSetWarpOption(GDALWarpAppOptions *psOptions,
101 const char *pszKey,
102 const char *pszValue);
103
104 GDALDatasetH CPL_DLL GDALWarp(const char *pszDest, GDALDatasetH hDstDS,
105 int nSrcCount, GDALDatasetH *pahSrcDS,
106 const GDALWarpAppOptions *psOptions,
107 int *pbUsageError);
108
110 typedef struct GDALVectorTranslateOptions GDALVectorTranslateOptions;
111
113 typedef struct GDALVectorTranslateOptionsForBinary
114 GDALVectorTranslateOptionsForBinary;
115
116 GDALVectorTranslateOptions CPL_DLL *GDALVectorTranslateOptionsNew(
117 char **papszArgv, GDALVectorTranslateOptionsForBinary *psOptionsForBinary);
118
119 void CPL_DLL
120 GDALVectorTranslateOptionsFree(GDALVectorTranslateOptions *psOptions);
121
122 void CPL_DLL GDALVectorTranslateOptionsSetProgress(
123 GDALVectorTranslateOptions *psOptions, GDALProgressFunc pfnProgress,
124 void *pProgressData);
125
126 GDALDatasetH CPL_DLL GDALVectorTranslate(
127 const char *pszDest, GDALDatasetH hDstDS, int nSrcCount,
128 GDALDatasetH *pahSrcDS, const GDALVectorTranslateOptions *psOptions,
129 int *pbUsageError);
130
132 typedef struct GDALDEMProcessingOptions GDALDEMProcessingOptions;
133
135 typedef struct GDALDEMProcessingOptionsForBinary
136 GDALDEMProcessingOptionsForBinary;
137
138 GDALDEMProcessingOptions CPL_DLL *GDALDEMProcessingOptionsNew(
139 char **papszArgv, GDALDEMProcessingOptionsForBinary *psOptionsForBinary);
140
141 void CPL_DLL GDALDEMProcessingOptionsFree(GDALDEMProcessingOptions *psOptions);
142
143 void CPL_DLL GDALDEMProcessingOptionsSetProgress(
144 GDALDEMProcessingOptions *psOptions, GDALProgressFunc pfnProgress,
145 void *pProgressData);
146
147 GDALDatasetH CPL_DLL
148 GDALDEMProcessing(const char *pszDestFilename, GDALDatasetH hSrcDataset,
149 const char *pszProcessing, const char *pszColorFilename,
150 const GDALDEMProcessingOptions *psOptions, int *pbUsageError);
151
153 typedef struct GDALNearblackOptions GDALNearblackOptions;
154
156 typedef struct GDALNearblackOptionsForBinary GDALNearblackOptionsForBinary;
157
158 GDALNearblackOptions CPL_DLL *
159 GDALNearblackOptionsNew(char **papszArgv,
160 GDALNearblackOptionsForBinary *psOptionsForBinary);
161
162 void CPL_DLL GDALNearblackOptionsFree(GDALNearblackOptions *psOptions);
163
164 void CPL_DLL GDALNearblackOptionsSetProgress(GDALNearblackOptions *psOptions,
165 GDALProgressFunc pfnProgress,
166 void *pProgressData);
167
168 GDALDatasetH CPL_DLL GDALNearblack(const char *pszDest, GDALDatasetH hDstDS,
169 GDALDatasetH hSrcDS,
170 const GDALNearblackOptions *psOptions,
171 int *pbUsageError);
172
174 typedef struct GDALGridOptions GDALGridOptions;
175
177 typedef struct GDALGridOptionsForBinary GDALGridOptionsForBinary;
178
179 GDALGridOptions CPL_DLL *
180 GDALGridOptionsNew(char **papszArgv,
181 GDALGridOptionsForBinary *psOptionsForBinary);
182
183 void CPL_DLL GDALGridOptionsFree(GDALGridOptions *psOptions);
184
185 void CPL_DLL GDALGridOptionsSetProgress(GDALGridOptions *psOptions,
186 GDALProgressFunc pfnProgress,
187 void *pProgressData);
188
189 GDALDatasetH CPL_DLL GDALGrid(const char *pszDest, GDALDatasetH hSrcDS,
190 const GDALGridOptions *psOptions,
191 int *pbUsageError);
192
194 typedef struct GDALRasterizeOptions GDALRasterizeOptions;
195
197 typedef struct GDALRasterizeOptionsForBinary GDALRasterizeOptionsForBinary;
198
199 GDALRasterizeOptions CPL_DLL *
200 GDALRasterizeOptionsNew(char **papszArgv,
201 GDALRasterizeOptionsForBinary *psOptionsForBinary);
202
203 void CPL_DLL GDALRasterizeOptionsFree(GDALRasterizeOptions *psOptions);
204
205 void CPL_DLL GDALRasterizeOptionsSetProgress(GDALRasterizeOptions *psOptions,
206 GDALProgressFunc pfnProgress,
207 void *pProgressData);
208
209 GDALDatasetH CPL_DLL GDALRasterize(const char *pszDest, GDALDatasetH hDstDS,
210 GDALDatasetH hSrcDS,
211 const GDALRasterizeOptions *psOptions,
212 int *pbUsageError);
213
215 typedef struct GDALBuildVRTOptions GDALBuildVRTOptions;
216
218 typedef struct GDALBuildVRTOptionsForBinary GDALBuildVRTOptionsForBinary;
219
220 GDALBuildVRTOptions CPL_DLL *
221 GDALBuildVRTOptionsNew(char **papszArgv,
222 GDALBuildVRTOptionsForBinary *psOptionsForBinary);
223
224 void CPL_DLL GDALBuildVRTOptionsFree(GDALBuildVRTOptions *psOptions);
225
226 void CPL_DLL GDALBuildVRTOptionsSetProgress(GDALBuildVRTOptions *psOptions,
227 GDALProgressFunc pfnProgress,
228 void *pProgressData);
229
230 GDALDatasetH CPL_DLL GDALBuildVRT(const char *pszDest, int nSrcCount,
231 GDALDatasetH *pahSrcDS,
232 const char *const *papszSrcDSNames,
233 const GDALBuildVRTOptions *psOptions,
234 int *pbUsageError);
235
237 typedef struct GDALMultiDimInfoOptions GDALMultiDimInfoOptions;
238
240 typedef struct GDALMultiDimInfoOptionsForBinary
241 GDALMultiDimInfoOptionsForBinary;
242
243 GDALMultiDimInfoOptions CPL_DLL *GDALMultiDimInfoOptionsNew(
244 char **papszArgv, GDALMultiDimInfoOptionsForBinary *psOptionsForBinary);
245
246 void CPL_DLL GDALMultiDimInfoOptionsFree(GDALMultiDimInfoOptions *psOptions);
247
248 char CPL_DLL *GDALMultiDimInfo(GDALDatasetH hDataset,
249 const GDALMultiDimInfoOptions *psOptions);
250
252 typedef struct GDALMultiDimTranslateOptions GDALMultiDimTranslateOptions;
253
255 typedef struct GDALMultiDimTranslateOptionsForBinary
256 GDALMultiDimTranslateOptionsForBinary;
257
258 GDALMultiDimTranslateOptions CPL_DLL *GDALMultiDimTranslateOptionsNew(
259 char **papszArgv,
260 GDALMultiDimTranslateOptionsForBinary *psOptionsForBinary);
261
262 void CPL_DLL
263 GDALMultiDimTranslateOptionsFree(GDALMultiDimTranslateOptions *psOptions);
264
265 void CPL_DLL GDALMultiDimTranslateOptionsSetProgress(
266 GDALMultiDimTranslateOptions *psOptions, GDALProgressFunc pfnProgress,
267 void *pProgressData);
268
269 GDALDatasetH CPL_DLL GDALMultiDimTranslate(
270 const char *pszDest, GDALDatasetH hDstDataset, int nSrcCount,
271 GDALDatasetH *pahSrcDS, const GDALMultiDimTranslateOptions *psOptions,
272 int *pbUsageError);
273
275 typedef struct GDALVectorInfoOptions GDALVectorInfoOptions;
276
278 typedef struct GDALVectorInfoOptionsForBinary GDALVectorInfoOptionsForBinary;
279
280 GDALVectorInfoOptions CPL_DLL *
281 GDALVectorInfoOptionsNew(char **papszArgv,
282 GDALVectorInfoOptionsForBinary *psOptionsForBinary);
283
284 void CPL_DLL GDALVectorInfoOptionsFree(GDALVectorInfoOptions *psOptions);
285
286 char CPL_DLL *GDALVectorInfo(GDALDatasetH hDataset,
287 const GDALVectorInfoOptions *psOptions);
288
289 CPL_C_END
290
291 #endif /* GDAL_UTILS_H_INCLUDED */
GDALWarpAppOptionsSetWarpOption
void GDALWarpAppOptionsSetWarpOption(GDALWarpAppOptions *psOptions, const char *pszKey, const char *pszValue)
Set a warp option.
Definition: gdalwarp_lib.cpp:5578
gdal.h
GDALNearblackOptionsNew
GDALNearblackOptions * GDALNearblackOptionsNew(char **papszArgv, GDALNearblackOptionsForBinary *psOptionsForBinary)
Allocates a GDALNearblackOptions struct.
Definition: nearblack_lib.cpp:787
GDALVectorInfoOptionsForBinary
struct GDALVectorInfoOptionsForBinary GDALVectorInfoOptionsForBinary
Opaque type.
Definition: gdal_utils.h:278
GDALRasterizeOptionsNew
GDALRasterizeOptions * GDALRasterizeOptionsNew(char **papszArgv, GDALRasterizeOptionsForBinary *psOptionsForBinary)
Allocates a GDALRasterizeOptions struct.
Definition: gdal_rasterize_lib.cpp:965
GDALNearblackOptionsSetProgress
void GDALNearblackOptionsSetProgress(GDALNearblackOptions *psOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Set a progress function.
Definition: nearblack_lib.cpp:966
GDALRasterize
GDALDatasetH GDALRasterize(const char *pszDest, GDALDatasetH hDstDS, GDALDatasetH hSrcDS, const GDALRasterizeOptions *psOptions, int *pbUsageError)
Burns vector geometries into a raster.
Definition: gdal_rasterize_lib.cpp:661
GDALMultiDimInfo
char * GDALMultiDimInfo(GDALDatasetH hDataset, const GDALMultiDimInfoOptions *psOptions)
Lists various information about a GDAL multidimensional dataset.
Definition: gdalmdiminfo_lib.cpp:1059
GDALVectorInfoOptions
struct GDALVectorInfoOptions GDALVectorInfoOptions
Definition: gdal_utils.h:275
GDALTranslateOptionsFree
void GDALTranslateOptionsFree(GDALTranslateOptions *psOptions)
Frees the GDALTranslateOptions struct.
Definition: gdal_translate_lib.cpp:3348
GDALMultiDimInfoOptionsFree
void GDALMultiDimInfoOptionsFree(GDALMultiDimInfoOptions *psOptions)
Frees the GDALMultiDimInfoOptions struct.
Definition: gdalmdiminfo_lib.cpp:1251
GDALVectorTranslate
GDALDatasetH GDALVectorTranslate(const char *pszDest, GDALDatasetH hDstDS, int nSrcCount, GDALDatasetH *pahSrcDS, const GDALVectorTranslateOptions *psOptions, int *pbUsageError)
Converts vector data between file formats.
Definition: ogr2ogr_lib.cpp:2101
GDALMultiDimTranslateOptionsSetProgress
void GDALMultiDimTranslateOptionsSetProgress(GDALMultiDimTranslateOptions *psOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Set a progress function.
Definition: gdalmdimtranslate_lib.cpp:1918
GDALRasterizeOptionsFree
void GDALRasterizeOptionsFree(GDALRasterizeOptions *psOptions)
Frees the GDALRasterizeOptions struct.
Definition: gdal_rasterize_lib.cpp:1434
GDALDEMProcessingOptions
struct GDALDEMProcessingOptions GDALDEMProcessingOptions
Definition: gdal_utils.h:132
GDALNearblack
GDALDatasetH GDALNearblack(const char *pszDest, GDALDatasetH hDstDS, GDALDatasetH hSrcDS, const GDALNearblackOptions *psOptions, int *pbUsageError)
Convert nearly black/white borders to exact value.
Definition: nearblack_lib.cpp:113
GDALDEMProcessingOptionsNew
GDALDEMProcessingOptions * GDALDEMProcessingOptionsNew(char **papszArgv, GDALDEMProcessingOptionsForBinary *psOptionsForBinary)
Allocates a GDALDEMProcessingOptions struct.
Definition: gdaldem_lib.cpp:3772
GDALDEMProcessingOptionsForBinary
struct GDALDEMProcessingOptionsForBinary GDALDEMProcessingOptionsForBinary
Opaque type.
Definition: gdal_utils.h:135
GDALMultiDimInfoOptionsNew
GDALMultiDimInfoOptions * GDALMultiDimInfoOptionsNew(char **papszArgv, GDALMultiDimInfoOptionsForBinary *psOptionsForBinary)
Allocates a GDALMultiDimInfo struct.
Definition: gdalmdiminfo_lib.cpp:1152
GDALTranslateOptionsForBinary
struct GDALTranslateOptionsForBinary GDALTranslateOptionsForBinary
Opaque type.
Definition: gdal_utils.h:66
GDALDEMProcessingOptionsFree
void GDALDEMProcessingOptionsFree(GDALDEMProcessingOptions *psOptions)
Frees the GDALDEMProcessingOptions struct.
Definition: gdaldem_lib.cpp:4029
GDALMultiDimInfoOptions
struct GDALMultiDimInfoOptions GDALMultiDimInfoOptions
Definition: gdal_utils.h:237
GDALInfoOptionsForBinary
struct GDALInfoOptionsForBinary GDALInfoOptionsForBinary
Opaque type.
Definition: gdal_utils.h:52
GDALVectorTranslateOptionsSetProgress
void GDALVectorTranslateOptionsSetProgress(GDALVectorTranslateOptions *psOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Set a progress function.
Definition: ogr2ogr_lib.cpp:6807
GDALMultiDimInfoOptionsForBinary
struct GDALMultiDimInfoOptionsForBinary GDALMultiDimInfoOptionsForBinary
Opaque type.
Definition: gdal_utils.h:240
CPL_C_START
#define CPL_C_START
Macro to start a block of C symbols.
Definition: cpl_port.h:315
GDALGrid
GDALDatasetH GDALGrid(const char *pszDest, GDALDatasetH hSrcDS, const GDALGridOptions *psOptions, int *pbUsageError)
Create raster from the scattered data.
Definition: gdal_grid_lib.cpp:627
GDALNearblackOptions
struct GDALNearblackOptions GDALNearblackOptions
Definition: gdal_utils.h:153
GDALMultiDimTranslateOptionsFree
void GDALMultiDimTranslateOptionsFree(GDALMultiDimTranslateOptions *psOptions)
Frees the GDALMultiDimTranslateOptions struct.
Definition: gdalmdimtranslate_lib.cpp:1899
GDALNearblackOptionsFree
void GDALNearblackOptionsFree(GDALNearblackOptions *psOptions)
Frees the GDALNearblackOptions struct.
Definition: nearblack_lib.cpp:941
GDALDEMProcessingOptionsSetProgress
void GDALDEMProcessingOptionsSetProgress(GDALDEMProcessingOptions *psOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Set a progress function.
Definition: gdaldem_lib.cpp:4054
GDALInfoOptionsNew
GDALInfoOptions * GDALInfoOptionsNew(char **papszArgv, GDALInfoOptionsForBinary *psOptionsForBinary)
Allocates a GDALInfoOptions struct.
Definition: gdalinfo_lib.cpp:2099
GDALGridOptions
struct GDALGridOptions GDALGridOptions
Definition: gdal_utils.h:174
GDALGridOptionsSetProgress
void GDALGridOptionsSetProgress(GDALGridOptions *psOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Set a progress function.
Definition: gdal_grid_lib.cpp:1434
GDALMultiDimTranslateOptionsForBinary
struct GDALMultiDimTranslateOptionsForBinary GDALMultiDimTranslateOptionsForBinary
Opaque type.
Definition: gdal_utils.h:255
GDALWarp
GDALDatasetH GDALWarp(const char *pszDest, GDALDatasetH hDstDS, int nSrcCount, GDALDatasetH *pahSrcDS, const GDALWarpAppOptions *psOptions, int *pbUsageError)
Image reprojection and warping function.
Definition: gdalwarp_lib.cpp:1297
CPL_C_END
#define CPL_C_END
Macro to end a block of C symbols.
Definition: cpl_port.h:319
GDALRasterizeOptions
struct GDALRasterizeOptions GDALRasterizeOptions
Definition: gdal_utils.h:194
GDALWarpAppOptionsForBinary
struct GDALWarpAppOptionsForBinary GDALWarpAppOptionsForBinary
Opaque type.
Definition: gdal_utils.h:87
GDALRasterizeOptionsForBinary
struct GDALRasterizeOptionsForBinary GDALRasterizeOptionsForBinary
Opaque type.
Definition: gdal_utils.h:197
GDALBuildVRTOptionsNew
GDALBuildVRTOptions * GDALBuildVRTOptionsNew(char **papszArgv, GDALBuildVRTOptionsForBinary *psOptionsForBinary)
Allocates a GDALBuildVRTOptions struct.
Definition: gdalbuildvrt_lib.cpp:1959
GDALBuildVRTOptionsSetProgress
void GDALBuildVRTOptionsSetProgress(GDALBuildVRTOptions *psOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Set a progress function.
Definition: gdalbuildvrt_lib.cpp:2231
GDALWarpAppOptionsSetQuiet
void GDALWarpAppOptionsSetQuiet(GDALWarpAppOptions *psOptions, int bQuiet)
Set a progress function.
Definition: gdalwarp_lib.cpp:5559
GDALTranslate
GDALDatasetH GDALTranslate(const char *pszDestFilename, GDALDatasetH hSrcDataset, const GDALTranslateOptions *psOptions, int *pbUsageError)
Converts raster data between different formats.
Definition: gdal_translate_lib.cpp:683
GDALBuildVRTOptionsForBinary
struct GDALBuildVRTOptionsForBinary GDALBuildVRTOptionsForBinary
Opaque type.
Definition: gdal_utils.h:218
GDALVectorInfoOptionsNew
GDALVectorInfoOptions * GDALVectorInfoOptionsNew(char **papszArgv, GDALVectorInfoOptionsForBinary *psOptionsForBinary)
Allocates a GDALVectorInfoOptions struct.
Definition: ogrinfo_lib.cpp:1924
GDALRasterizeOptionsSetProgress
void GDALRasterizeOptionsSetProgress(GDALRasterizeOptions *psOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Set a progress function.
Definition: gdal_rasterize_lib.cpp:1467
GDALInfoOptionsFree
void GDALInfoOptionsFree(GDALInfoOptions *psOptions)
Frees the GDALInfoOptions struct.
Definition: gdalinfo_lib.cpp:2245
GDALMultiDimTranslate
GDALDatasetH GDALMultiDimTranslate(const char *pszDest, GDALDatasetH hDstDataset, int nSrcCount, GDALDatasetH *pahSrcDS, const GDALMultiDimTranslateOptions *psOptions, int *pbUsageError)
Converts raster data between different formats.
Definition: gdalmdimtranslate_lib.cpp:1596
GDALVectorTranslateOptionsFree
void GDALVectorTranslateOptionsFree(GDALVectorTranslateOptions *psOptions)
Frees the GDALVectorTranslateOptions struct.
Definition: ogr2ogr_lib.cpp:6788
GDALWarpAppOptionsSetProgress
void GDALWarpAppOptionsSetProgress(GDALWarpAppOptions *psOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Set a progress function.
Definition: gdalwarp_lib.cpp:5536
GDALMultiDimTranslateOptions
struct GDALMultiDimTranslateOptions GDALMultiDimTranslateOptions
Definition: gdal_utils.h:252
GDALTranslateOptions
struct GDALTranslateOptions GDALTranslateOptions
Definition: gdal_utils.h:63
GDALBuildVRTOptionsFree
void GDALBuildVRTOptionsFree(GDALBuildVRTOptions *psOptions)
Frees the GDALBuildVRTOptions struct.
Definition: gdalbuildvrt_lib.cpp:2201
cpl_port.h
GDALVectorInfo
char * GDALVectorInfo(GDALDatasetH hDataset, const GDALVectorInfoOptions *psOptions)
Lists various information about a GDAL supported vector dataset.
Definition: ogrinfo_lib.cpp:1556
GDALMultiDimTranslateOptionsNew
GDALMultiDimTranslateOptions * GDALMultiDimTranslateOptionsNew(char **papszArgv, GDALMultiDimTranslateOptionsForBinary *psOptionsForBinary)
Allocates a GDALMultiDimTranslateOptions struct.
Definition: gdalmdimtranslate_lib.cpp:1757
GDALVectorTranslateOptionsNew
GDALVectorTranslateOptions * GDALVectorTranslateOptionsNew(char **papszArgv, GDALVectorTranslateOptionsForBinary *psOptionsForBinary)
allocates a GDALVectorTranslateOptions struct.
Definition: ogr2ogr_lib.cpp:5995
GDALGridOptionsForBinary
struct GDALGridOptionsForBinary GDALGridOptionsForBinary
Opaque type.
Definition: gdal_utils.h:177
GDALBuildVRT
GDALDatasetH GDALBuildVRT(const char *pszDest, int nSrcCount, GDALDatasetH *pahSrcDS, const char *const *papszSrcDSNames, const GDALBuildVRTOptions *psOptions, int *pbUsageError)
Build a VRT from a list of datasets.
Definition: gdalbuildvrt_lib.cpp:1806
GDALInfo
char * GDALInfo(GDALDatasetH hDataset, const GDALInfoOptions *psOptions)
Lists various information about a GDAL supported raster dataset.
Definition: gdalinfo_lib.cpp:237
GDALGridOptionsNew
GDALGridOptions * GDALGridOptionsNew(char **papszArgv, GDALGridOptionsForBinary *psOptionsForBinary)
Allocates a GDALGridOptions struct.
Definition: gdal_grid_lib.cpp:956
GDALWarpAppOptionsNew
GDALWarpAppOptions * GDALWarpAppOptionsNew(char **papszArgv, GDALWarpAppOptionsForBinary *psOptionsForBinary)
Allocates a GDALWarpAppOptions struct.
Definition: gdalwarp_lib.cpp:4949
GDALGridOptionsFree
void GDALGridOptionsFree(GDALGridOptions *psOptions)
Frees the GDALGridOptions struct.
Definition: gdal_grid_lib.cpp:1398
GDALVectorTranslateOptionsForBinary
struct GDALVectorTranslateOptionsForBinary GDALVectorTranslateOptionsForBinary
Opaque type.
Definition: gdal_utils.h:113
GDALNearblackOptionsForBinary
struct GDALNearblackOptionsForBinary GDALNearblackOptionsForBinary
Opaque type.
Definition: gdal_utils.h:156
GDALTranslateOptionsNew
GDALTranslateOptions * GDALTranslateOptionsNew(char **papszArgv, GDALTranslateOptionsForBinary *psOptionsForBinary)
Allocates a GDALTranslateOptions struct.
Definition: gdal_translate_lib.cpp:2738
GDALDEMProcessing
GDALDatasetH GDALDEMProcessing(const char *pszDestFilename, GDALDatasetH hSrcDataset, const char *pszProcessing, const char *pszColorFilename, const GDALDEMProcessingOptions *psOptions, int *pbUsageError)
Apply a DEM processing.
Definition: gdaldem_lib.cpp:3212
GDALWarpAppOptions
struct GDALWarpAppOptions GDALWarpAppOptions
Definition: gdal_utils.h:84
GDALWarpAppOptionsFree
void GDALWarpAppOptionsFree(GDALWarpAppOptions *psOptions)
Frees the GDALWarpAppOptions struct.
Definition: gdalwarp_lib.cpp:5517
GDALTranslateOptionsSetProgress
void GDALTranslateOptionsSetProgress(GDALTranslateOptions *psOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Set a progress function.
Definition: gdal_translate_lib.cpp:3367
GDALDatasetH
void * GDALDatasetH
Opaque type used for the C bindings of the C++ GDALDataset class.
Definition: gdal.h:291
GDALVectorInfoOptionsFree
void GDALVectorInfoOptionsFree(GDALVectorInfoOptions *psOptions)
Frees the GDALVectorInfoOptions struct.
Definition: ogrinfo_lib.cpp:92
GDALBuildVRTOptions
struct GDALBuildVRTOptions GDALBuildVRTOptions
Definition: gdal_utils.h:215
GDALVectorTranslateOptions
struct GDALVectorTranslateOptions GDALVectorTranslateOptions
Definition: gdal_utils.h:110
GDALInfoOptions
struct GDALInfoOptions GDALInfoOptions
Definition: gdal_utils.h:49