GDAL

gdal_utils.h
Go to the documentation of this file.
1/******************************************************************************
2 *
3 * Project: GDAL Utilities
4 * Purpose: GDAL Utilities Public Declarations.
5 * Author: Faza Mahamood, fazamhd at gmail dot com
6 *
7 * ****************************************************************************
8 * Copyright (c) 1998, Frank Warmerdam
9 * Copyright (c) 2007-2015, Even Rouault <even.rouault at spatialys.com>
10 * Copyright (c) 2015, Faza Mahamood
11 *
12 * SPDX-License-Identifier: MIT
13 ****************************************************************************/
14
15#ifndef GDAL_UTILS_H_INCLUDED
16#define GDAL_UTILS_H_INCLUDED
17
26#include "cpl_port.h"
27#include "gdal.h"
28
29 CPL_C_START
30
32 typedef struct GDALInfoOptions GDALInfoOptions;
33
35 typedef struct GDALInfoOptionsForBinary GDALInfoOptionsForBinary;
36
37 GDALInfoOptions CPL_DLL *
38 GDALInfoOptionsNew(char **papszArgv,
39 GDALInfoOptionsForBinary *psOptionsForBinary);
40
41 void CPL_DLL GDALInfoOptionsFree(GDALInfoOptions *psOptions);
42
43 char CPL_DLL *GDALInfo(GDALDatasetH hDataset, const GDALInfoOptions *psOptions);
44
46 typedef struct GDALTranslateOptions GDALTranslateOptions;
47
49 typedef struct GDALTranslateOptionsForBinary GDALTranslateOptionsForBinary;
50
51 GDALTranslateOptions CPL_DLL *
52 GDALTranslateOptionsNew(char **papszArgv,
53 GDALTranslateOptionsForBinary *psOptionsForBinary);
54
55 void CPL_DLL GDALTranslateOptionsFree(GDALTranslateOptions *psOptions);
56
57 void CPL_DLL GDALTranslateOptionsSetProgress(GDALTranslateOptions *psOptions,
58 GDALProgressFunc pfnProgress,
59 void *pProgressData);
60
61 GDALDatasetH CPL_DLL GDALTranslate(const char *pszDestFilename,
62 GDALDatasetH hSrcDataset,
63 const GDALTranslateOptions *psOptions,
64 int *pbUsageError);
65
67 typedef struct GDALWarpAppOptions GDALWarpAppOptions;
68
70 typedef struct GDALWarpAppOptionsForBinary GDALWarpAppOptionsForBinary;
71
72 GDALWarpAppOptions CPL_DLL *
73 GDALWarpAppOptionsNew(char **papszArgv,
74 GDALWarpAppOptionsForBinary *psOptionsForBinary);
75
76 void CPL_DLL GDALWarpAppOptionsFree(GDALWarpAppOptions *psOptions);
77
78 void CPL_DLL GDALWarpAppOptionsSetProgress(GDALWarpAppOptions *psOptions,
79 GDALProgressFunc pfnProgress,
80 void *pProgressData);
81 void CPL_DLL GDALWarpAppOptionsSetQuiet(GDALWarpAppOptions *psOptions,
82 int bQuiet);
83 void CPL_DLL GDALWarpAppOptionsSetWarpOption(GDALWarpAppOptions *psOptions,
84 const char *pszKey,
85 const char *pszValue);
86
87 GDALDatasetH CPL_DLL GDALWarp(const char *pszDest, GDALDatasetH hDstDS,
88 int nSrcCount, GDALDatasetH *pahSrcDS,
89 const GDALWarpAppOptions *psOptions,
90 int *pbUsageError);
91
93 typedef struct GDALVectorTranslateOptions GDALVectorTranslateOptions;
94
96 typedef struct GDALVectorTranslateOptionsForBinary
97 GDALVectorTranslateOptionsForBinary;
98
99 GDALVectorTranslateOptions CPL_DLL *GDALVectorTranslateOptionsNew(
100 char **papszArgv, GDALVectorTranslateOptionsForBinary *psOptionsForBinary);
101
102 void CPL_DLL
103 GDALVectorTranslateOptionsFree(GDALVectorTranslateOptions *psOptions);
104
105 void CPL_DLL GDALVectorTranslateOptionsSetProgress(
106 GDALVectorTranslateOptions *psOptions, GDALProgressFunc pfnProgress,
107 void *pProgressData);
108
109 GDALDatasetH CPL_DLL GDALVectorTranslate(
110 const char *pszDest, GDALDatasetH hDstDS, int nSrcCount,
111 GDALDatasetH *pahSrcDS, const GDALVectorTranslateOptions *psOptions,
112 int *pbUsageError);
113
115 typedef struct GDALDEMProcessingOptions GDALDEMProcessingOptions;
116
118 typedef struct GDALDEMProcessingOptionsForBinary
119 GDALDEMProcessingOptionsForBinary;
120
121 GDALDEMProcessingOptions CPL_DLL *GDALDEMProcessingOptionsNew(
122 char **papszArgv, GDALDEMProcessingOptionsForBinary *psOptionsForBinary);
123
124 void CPL_DLL GDALDEMProcessingOptionsFree(GDALDEMProcessingOptions *psOptions);
125
126 void CPL_DLL GDALDEMProcessingOptionsSetProgress(
127 GDALDEMProcessingOptions *psOptions, GDALProgressFunc pfnProgress,
128 void *pProgressData);
129
130 GDALDatasetH CPL_DLL
131 GDALDEMProcessing(const char *pszDestFilename, GDALDatasetH hSrcDataset,
132 const char *pszProcessing, const char *pszColorFilename,
133 const GDALDEMProcessingOptions *psOptions, int *pbUsageError);
134
136 typedef struct GDALNearblackOptions GDALNearblackOptions;
137
139 typedef struct GDALNearblackOptionsForBinary GDALNearblackOptionsForBinary;
140
141 GDALNearblackOptions CPL_DLL *
142 GDALNearblackOptionsNew(char **papszArgv,
143 GDALNearblackOptionsForBinary *psOptionsForBinary);
144
145 void CPL_DLL GDALNearblackOptionsFree(GDALNearblackOptions *psOptions);
146
147 void CPL_DLL GDALNearblackOptionsSetProgress(GDALNearblackOptions *psOptions,
148 GDALProgressFunc pfnProgress,
149 void *pProgressData);
150
151 GDALDatasetH CPL_DLL GDALNearblack(const char *pszDest, GDALDatasetH hDstDS,
152 GDALDatasetH hSrcDS,
153 const GDALNearblackOptions *psOptions,
154 int *pbUsageError);
155
157 typedef struct GDALGridOptions GDALGridOptions;
158
160 typedef struct GDALGridOptionsForBinary GDALGridOptionsForBinary;
161
162 GDALGridOptions CPL_DLL *
163 GDALGridOptionsNew(char **papszArgv,
164 GDALGridOptionsForBinary *psOptionsForBinary);
165
166 void CPL_DLL GDALGridOptionsFree(GDALGridOptions *psOptions);
167
168 void CPL_DLL GDALGridOptionsSetProgress(GDALGridOptions *psOptions,
169 GDALProgressFunc pfnProgress,
170 void *pProgressData);
171
172 GDALDatasetH CPL_DLL GDALGrid(const char *pszDest, GDALDatasetH hSrcDS,
173 const GDALGridOptions *psOptions,
174 int *pbUsageError);
175
177 typedef struct GDALContourOptions GDALContourOptions;
178
180 typedef struct GDALContourOptionsForBinary GDALContourOptionsForBinary;
181
182 GDALContourOptions CPL_DLL *
183 GDALContourOptionsNew(char **papszArgv,
184 GDALContourOptionsForBinary *psOptionsForBinary);
185
186 void CPL_DLL GDALContourOptionsFree(GDALContourOptions *psOptions);
187
188 void CPL_DLL GDALContourOptionsSetProgress(GDALContourOptions *psOptions,
189 GDALProgressFunc pfnProgress,
190 void *pProgressData);
191
193// Cannot be in gdal_utils_priv.h because it's used in the bindings (that
194// define CPL_SUPRESS_CPLUSPLUS making it impossible to import this header
195// because it uses CPLStringList which is a C++ class and it's not included
196// if CPL_SUPRESS_CPLUSPLUS is on).
197 void CPL_DLL GDALContourOptionsSetDestDataSource(GDALContourOptions *psOptions,
198 const char *pszDestDatasource);
199
200// Finally got the third star! https://wiki.c2.com/?ThreeStarProgrammer
201 CPLErr CPL_DLL GDALContourProcessOptions(GDALContourOptions *psOptions,
202 char ***ppapszStringOptions,
203 GDALDatasetH *hSrcDS,
204 GDALRasterBandH *hBand,
205 GDALDatasetH *hDstDS,
206 OGRLayerH *hLayer);
207
209
211 typedef struct GDALRasterizeOptions GDALRasterizeOptions;
212
214 typedef struct GDALRasterizeOptionsForBinary GDALRasterizeOptionsForBinary;
215
216 GDALRasterizeOptions CPL_DLL *
217 GDALRasterizeOptionsNew(char **papszArgv,
218 GDALRasterizeOptionsForBinary *psOptionsForBinary);
219
220 void CPL_DLL GDALRasterizeOptionsFree(GDALRasterizeOptions *psOptions);
221
222 void CPL_DLL GDALRasterizeOptionsSetProgress(GDALRasterizeOptions *psOptions,
223 GDALProgressFunc pfnProgress,
224 void *pProgressData);
225
226 GDALDatasetH CPL_DLL GDALRasterize(const char *pszDest, GDALDatasetH hDstDS,
227 GDALDatasetH hSrcDS,
228 const GDALRasterizeOptions *psOptions,
229 int *pbUsageError);
230
232 typedef struct GDALFootprintOptions GDALFootprintOptions;
233
235 typedef struct GDALFootprintOptionsForBinary GDALFootprintOptionsForBinary;
236
237 GDALFootprintOptions CPL_DLL *
238 GDALFootprintOptionsNew(char **papszArgv,
239 GDALFootprintOptionsForBinary *psOptionsForBinary);
240
241 void CPL_DLL GDALFootprintOptionsFree(GDALFootprintOptions *psOptions);
242
243 void CPL_DLL GDALFootprintOptionsSetProgress(GDALFootprintOptions *psOptions,
244 GDALProgressFunc pfnProgress,
245 void *pProgressData);
246
247 GDALDatasetH CPL_DLL GDALFootprint(const char *pszDest, GDALDatasetH hDstDS,
248 GDALDatasetH hSrcDS,
249 const GDALFootprintOptions *psOptions,
250 int *pbUsageError);
251
253 typedef struct GDALBuildVRTOptions GDALBuildVRTOptions;
254
256 typedef struct GDALBuildVRTOptionsForBinary GDALBuildVRTOptionsForBinary;
257
258 GDALBuildVRTOptions CPL_DLL *
259 GDALBuildVRTOptionsNew(char **papszArgv,
260 GDALBuildVRTOptionsForBinary *psOptionsForBinary);
261
262 void CPL_DLL GDALBuildVRTOptionsFree(GDALBuildVRTOptions *psOptions);
263
264 void CPL_DLL GDALBuildVRTOptionsSetProgress(GDALBuildVRTOptions *psOptions,
265 GDALProgressFunc pfnProgress,
266 void *pProgressData);
267
268 GDALDatasetH CPL_DLL GDALBuildVRT(const char *pszDest, int nSrcCount,
269 GDALDatasetH *pahSrcDS,
270 const char *const *papszSrcDSNames,
271 const GDALBuildVRTOptions *psOptions,
272 int *pbUsageError);
273
275 typedef struct GDALMultiDimInfoOptions GDALMultiDimInfoOptions;
276
278 typedef struct GDALMultiDimInfoOptionsForBinary
279 GDALMultiDimInfoOptionsForBinary;
280
281 GDALMultiDimInfoOptions CPL_DLL *GDALMultiDimInfoOptionsNew(
282 char **papszArgv, GDALMultiDimInfoOptionsForBinary *psOptionsForBinary);
283
284 void CPL_DLL GDALMultiDimInfoOptionsFree(GDALMultiDimInfoOptions *psOptions);
285
286 char CPL_DLL *GDALMultiDimInfo(GDALDatasetH hDataset,
287 const GDALMultiDimInfoOptions *psOptions);
288
290 typedef struct GDALMultiDimTranslateOptions GDALMultiDimTranslateOptions;
291
293 typedef struct GDALMultiDimTranslateOptionsForBinary
294 GDALMultiDimTranslateOptionsForBinary;
295
296 GDALMultiDimTranslateOptions CPL_DLL *GDALMultiDimTranslateOptionsNew(
297 char **papszArgv,
298 GDALMultiDimTranslateOptionsForBinary *psOptionsForBinary);
299
300 void CPL_DLL
301 GDALMultiDimTranslateOptionsFree(GDALMultiDimTranslateOptions *psOptions);
302
303 void CPL_DLL GDALMultiDimTranslateOptionsSetProgress(
304 GDALMultiDimTranslateOptions *psOptions, GDALProgressFunc pfnProgress,
305 void *pProgressData);
306
307 GDALDatasetH CPL_DLL GDALMultiDimTranslate(
308 const char *pszDest, GDALDatasetH hDstDataset, int nSrcCount,
309 GDALDatasetH *pahSrcDS, const GDALMultiDimTranslateOptions *psOptions,
310 int *pbUsageError);
311
313 typedef struct GDALVectorInfoOptions GDALVectorInfoOptions;
314
316 typedef struct GDALVectorInfoOptionsForBinary GDALVectorInfoOptionsForBinary;
317
318 GDALVectorInfoOptions CPL_DLL *
319 GDALVectorInfoOptionsNew(char **papszArgv,
320 GDALVectorInfoOptionsForBinary *psOptionsForBinary);
321
322 void CPL_DLL GDALVectorInfoOptionsFree(GDALVectorInfoOptions *psOptions);
323
324 char CPL_DLL *GDALVectorInfo(GDALDatasetH hDataset,
325 const GDALVectorInfoOptions *psOptions);
326
328 typedef struct GDALTileIndexOptions GDALTileIndexOptions;
329
331 typedef struct GDALTileIndexOptionsForBinary GDALTileIndexOptionsForBinary;
332
333 GDALTileIndexOptions CPL_DLL *
334 GDALTileIndexOptionsNew(char **papszArgv,
335 GDALTileIndexOptionsForBinary *psOptionsForBinary);
336
337 void CPL_DLL GDALTileIndexOptionsSetProgress(GDALTileIndexOptions *psOptions,
338 GDALProgressFunc pfnProgress,
339 void *pProgressData);
340
341 void CPL_DLL GDALTileIndexOptionsFree(GDALTileIndexOptions *psOptions);
342
343 GDALDatasetH CPL_DLL GDALTileIndex(const char *pszDest, int nSrcCount,
344 const char *const *papszSrcDSNames,
345 const GDALTileIndexOptions *psOptions,
346 int *pbUsageError);
347
348 CPL_C_END
349
350#endif /* GDAL_UTILS_H_INCLUDED */
CPLErr
CPLErr
Error category.
Definition cpl_error.h:37
cpl_port.h
Core portability definitions for CPL.
CPL_C_END
#define CPL_C_END
Macro to end a block of C symbols.
Definition cpl_port.h:289
CPL_C_START
#define CPL_C_START
Macro to start a block of C symbols.
Definition cpl_port.h:285
gdal.h
Public (C callable) GDAL entry points.
GDALDatasetH
void * GDALDatasetH
Opaque type used for the C bindings of the C++ GDALDataset class.
Definition gdal_fwd.h:42
OGRLayerH
void * OGRLayerH
Opaque type for a layer (OGRLayer)
Definition gdal_fwd.h:157
GDALRasterBandH
void * GDALRasterBandH
Opaque type used for the C bindings of the C++ GDALRasterBand class.
Definition gdal_fwd.h:45
GDALMultiDimTranslateOptionsNew
GDALMultiDimTranslateOptions * GDALMultiDimTranslateOptionsNew(char **papszArgv, GDALMultiDimTranslateOptionsForBinary *psOptionsForBinary)
Allocates a GDALMultiDimTranslateOptions struct.
Definition gdalmdimtranslate_lib.cpp:2036
GDALInfo
char * GDALInfo(GDALDatasetH hDataset, const GDALInfoOptions *psOptions)
Lists various information about a GDAL supported raster dataset.
Definition gdalinfo_lib.cpp:401
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:2051
GDALWarpAppOptionsFree
void GDALWarpAppOptionsFree(GDALWarpAppOptions *psOptions)
Frees the GDALWarpAppOptions struct.
Definition gdalwarp_lib.cpp:6536
GDALFootprintOptionsFree
void GDALFootprintOptionsFree(GDALFootprintOptions *psOptions)
Frees the GDALFootprintOptions struct.
Definition gdal_footprint_lib.cpp:1509
GDALBuildVRTOptionsForBinary
struct GDALBuildVRTOptionsForBinary GDALBuildVRTOptionsForBinary
Opaque type.
Definition gdal_utils.h:256
GDALInfoOptions
struct GDALInfoOptions GDALInfoOptions
Definition gdal_utils.h:32
GDALInfoOptionsForBinary
struct GDALInfoOptionsForBinary GDALInfoOptionsForBinary
Opaque type.
Definition gdal_utils.h:35
GDALInfoOptionsFree
void GDALInfoOptionsFree(GDALInfoOptions *psOptions)
Frees the GDALInfoOptions struct.
Definition gdalinfo_lib.cpp:2386
GDALTranslate
GDALDatasetH GDALTranslate(const char *pszDestFilename, GDALDatasetH hSrcDataset, const GDALTranslateOptions *psOptions, int *pbUsageError)
Converts raster data between different formats.
Definition gdal_translate_lib.cpp:676
GDALTileIndexOptions
struct GDALTileIndexOptions GDALTileIndexOptions
Definition gdal_utils.h:328
GDALFootprintOptionsForBinary
struct GDALFootprintOptionsForBinary GDALFootprintOptionsForBinary
Opaque type.
Definition gdal_utils.h:235
GDALMultiDimTranslateOptionsForBinary
struct GDALMultiDimTranslateOptionsForBinary GDALMultiDimTranslateOptionsForBinary
Opaque type.
Definition gdal_utils.h:293
GDALVectorTranslateOptionsFree
void GDALVectorTranslateOptionsFree(GDALVectorTranslateOptions *psOptions)
Frees the GDALVectorTranslateOptions struct.
Definition ogr2ogr_lib.cpp:8769
GDALVectorTranslateOptionsForBinary
struct GDALVectorTranslateOptionsForBinary GDALVectorTranslateOptionsForBinary
Opaque type.
Definition gdal_utils.h:96
GDALVectorInfoOptionsForBinary
struct GDALVectorInfoOptionsForBinary GDALVectorInfoOptionsForBinary
Opaque type.
Definition gdal_utils.h:316
GDALVectorTranslateOptionsSetProgress
void GDALVectorTranslateOptionsSetProgress(GDALVectorTranslateOptions *psOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Set a progress function.
Definition ogr2ogr_lib.cpp:8788
GDALMultiDimInfoOptionsNew
GDALMultiDimInfoOptions * GDALMultiDimInfoOptionsNew(char **papszArgv, GDALMultiDimInfoOptionsForBinary *psOptionsForBinary)
Allocates a GDALMultiDimInfo struct.
Definition gdalmdiminfo_lib.cpp:1348
GDALTileIndex
GDALDatasetH GDALTileIndex(const char *pszDest, int nSrcCount, const char *const *papszSrcDSNames, const GDALTileIndexOptions *psOptions, int *pbUsageError)
Build a tile index from a list of datasets.
Definition gdaltindex_lib.cpp:535
GDALDEMProcessingOptions
struct GDALDEMProcessingOptions GDALDEMProcessingOptions
Definition gdal_utils.h:115
GDALWarpAppOptionsNew
GDALWarpAppOptions * GDALWarpAppOptionsNew(char **papszArgv, GDALWarpAppOptionsForBinary *psOptionsForBinary)
Allocates a GDALWarpAppOptions struct.
Definition gdalwarp_lib.cpp:6380
GDALDEMProcessingOptionsNew
GDALDEMProcessingOptions * GDALDEMProcessingOptionsNew(char **papszArgv, GDALDEMProcessingOptionsForBinary *psOptionsForBinary)
Allocates a GDALDEMProcessingOptions struct.
Definition gdaldem_lib.cpp:4254
GDALMultiDimTranslateOptionsFree
void GDALMultiDimTranslateOptionsFree(GDALMultiDimTranslateOptions *psOptions)
Frees the GDALMultiDimTranslateOptions struct.
Definition gdalmdimtranslate_lib.cpp:2105
GDALWarpAppOptionsForBinary
struct GDALWarpAppOptionsForBinary GDALWarpAppOptionsForBinary
Opaque type.
Definition gdal_utils.h:70
GDALFootprint
GDALDatasetH GDALFootprint(const char *pszDest, GDALDatasetH hDstDS, GDALDatasetH hSrcDS, const GDALFootprintOptions *psOptions, int *pbUsageError)
Computes the footprint of a raster.
Definition gdal_footprint_lib.cpp:1303
GDALNearblackOptionsSetProgress
void GDALNearblackOptionsSetProgress(GDALNearblackOptions *psOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Set a progress function.
Definition nearblack_lib.cpp:993
GDALRasterizeOptionsFree
void GDALRasterizeOptionsFree(GDALRasterizeOptions *psOptions)
Frees the GDALRasterizeOptions struct.
Definition gdal_rasterize_lib.cpp:1683
GDALVectorInfoOptions
struct GDALVectorInfoOptions GDALVectorInfoOptions
Definition gdal_utils.h:313
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:3562
GDALTileIndexOptionsFree
void GDALTileIndexOptionsFree(GDALTileIndexOptions *psOptions)
Frees the GDALTileIndexOptions struct.
Definition gdaltindex_lib.cpp:2989
GDALNearblackOptions
struct GDALNearblackOptions GDALNearblackOptions
Definition gdal_utils.h:136
GDALRasterizeOptions
struct GDALRasterizeOptions GDALRasterizeOptions
Definition gdal_utils.h:211
GDALWarpAppOptionsSetProgress
void GDALWarpAppOptionsSetProgress(GDALWarpAppOptions *psOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Set a progress function.
Definition gdalwarp_lib.cpp:6555
GDALDEMProcessingOptionsForBinary
struct GDALDEMProcessingOptionsForBinary GDALDEMProcessingOptionsForBinary
Opaque type.
Definition gdal_utils.h:118
GDALMultiDimInfoOptionsFree
void GDALMultiDimInfoOptionsFree(GDALMultiDimInfoOptions *psOptions)
Frees the GDALMultiDimInfoOptions struct.
Definition gdalmdiminfo_lib.cpp:1394
GDALContourOptionsNew
GDALContourOptions * GDALContourOptionsNew(char **papszArgv, GDALContourOptionsForBinary *psOptionsForBinary)
Create a new GDALContourOptions object.
Definition gdal_contour_lib.cpp:616
GDALBuildVRTOptionsFree
void GDALBuildVRTOptionsFree(GDALBuildVRTOptions *psOptions)
Frees the GDALBuildVRTOptions struct.
Definition gdalbuildvrt_lib.cpp:2631
GDALTranslateOptionsNew
GDALTranslateOptions * GDALTranslateOptionsNew(char **papszArgv, GDALTranslateOptionsForBinary *psOptionsForBinary)
Allocates a GDALTranslateOptions struct.
Definition gdal_translate_lib.cpp:3258
GDALMultiDimTranslateOptionsSetProgress
void GDALMultiDimTranslateOptionsSetProgress(GDALMultiDimTranslateOptions *psOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Set a progress function.
Definition gdalmdimtranslate_lib.cpp:2124
GDALContourOptions
struct GDALContourOptions GDALContourOptions
Definition gdal_utils.h:177
GDALInfoOptionsNew
GDALInfoOptions * GDALInfoOptionsNew(char **papszArgv, GDALInfoOptionsForBinary *psOptionsForBinary)
Allocates a GDALInfoOptions struct.
Definition gdalinfo_lib.cpp:2332
GDALRasterizeOptionsSetProgress
void GDALRasterizeOptionsSetProgress(GDALRasterizeOptions *psOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Set a progress function.
Definition gdal_rasterize_lib.cpp:1702
GDALVectorInfo
char * GDALVectorInfo(GDALDatasetH hDataset, const GDALVectorInfoOptions *psOptions)
Lists various information about a GDAL supported vector dataset.
Definition ogrinfo_lib.cpp:1847
GDALTranslateOptions
struct GDALTranslateOptions GDALTranslateOptions
Definition gdal_utils.h:46
GDALGridOptionsFree
void GDALGridOptionsFree(GDALGridOptions *psOptions)
Frees the GDALGridOptions struct.
Definition gdal_grid_lib.cpp:1422
GDALGridOptions
struct GDALGridOptions GDALGridOptions
Definition gdal_utils.h:157
GDALNearblackOptionsNew
GDALNearblackOptions * GDALNearblackOptionsNew(char **papszArgv, GDALNearblackOptionsForBinary *psOptionsForBinary)
Allocates a GDALNearblackOptions struct.
Definition nearblack_lib.cpp:940
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:2358
GDALFootprintOptionsNew
GDALFootprintOptions * GDALFootprintOptionsNew(char **papszArgv, GDALFootprintOptionsForBinary *psOptionsForBinary)
Allocates a GDALFootprintOptions struct.
Definition gdal_footprint_lib.cpp:1404
GDALNearblackOptionsForBinary
struct GDALNearblackOptionsForBinary GDALNearblackOptionsForBinary
Opaque type.
Definition gdal_utils.h:139
GDALDEMProcessingOptionsSetProgress
void GDALDEMProcessingOptionsSetProgress(GDALDEMProcessingOptions *psOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Set a progress function.
Definition gdaldem_lib.cpp:4446
GDALGridOptionsForBinary
struct GDALGridOptionsForBinary GDALGridOptionsForBinary
Opaque type.
Definition gdal_utils.h:160
GDALContourOptionsFree
void GDALContourOptionsFree(GDALContourOptions *psOptions)
Free a GDALContourOptions object.
Definition gdal_contour_lib.cpp:752
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:1417
GDALVectorTranslateOptionsNew
GDALVectorTranslateOptions * GDALVectorTranslateOptionsNew(char **papszArgv, GDALVectorTranslateOptionsForBinary *psOptionsForBinary)
allocates a GDALVectorTranslateOptions struct.
Definition ogr2ogr_lib.cpp:8487
GDALTileIndexOptionsForBinary
struct GDALTileIndexOptionsForBinary GDALTileIndexOptionsForBinary
Opaque type.
Definition gdal_utils.h:331
GDALGrid
GDALDatasetH GDALGrid(const char *pszDest, GDALDatasetH hSrcDS, const GDALGridOptions *psOptions, int *pbUsageError)
Create raster from the scattered data.
Definition gdal_grid_lib.cpp:629
GDALMultiDimInfo
char * GDALMultiDimInfo(GDALDatasetH hDataset, const GDALMultiDimInfoOptions *psOptions)
Lists various information about a GDAL multidimensional dataset.
Definition gdalmdiminfo_lib.cpp:1255
GDALBuildVRTOptionsNew
GDALBuildVRTOptions * GDALBuildVRTOptionsNew(char **papszArgv, GDALBuildVRTOptionsForBinary *psOptionsForBinary)
Allocates a GDALBuildVRTOptions struct.
Definition gdalbuildvrt_lib.cpp:2544
GDALVectorInfoOptionsFree
void GDALVectorInfoOptionsFree(GDALVectorInfoOptions *psOptions)
Frees the GDALVectorInfoOptions struct.
Definition ogrinfo_lib.cpp:88
GDALWarpAppOptionsSetWarpOption
void GDALWarpAppOptionsSetWarpOption(GDALWarpAppOptions *psOptions, const char *pszKey, const char *pszValue)
Set a warp option.
Definition gdalwarp_lib.cpp:6597
GDALBuildVRTOptionsSetProgress
void GDALBuildVRTOptionsSetProgress(GDALBuildVRTOptions *psOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Set a progress function.
Definition gdalbuildvrt_lib.cpp:2650
GDALFootprintOptions
struct GDALFootprintOptions GDALFootprintOptions
Definition gdal_utils.h:232
GDALWarpAppOptionsSetQuiet
void GDALWarpAppOptionsSetQuiet(GDALWarpAppOptions *psOptions, int bQuiet)
Set a progress function.
Definition gdalwarp_lib.cpp:6578
GDALMultiDimTranslateOptions
struct GDALMultiDimTranslateOptions GDALMultiDimTranslateOptions
Definition gdal_utils.h:290
GDALTranslateOptionsFree
void GDALTranslateOptionsFree(GDALTranslateOptions *psOptions)
Frees the GDALTranslateOptions struct.
Definition gdal_translate_lib.cpp:3584
GDALTranslateOptionsSetProgress
void GDALTranslateOptionsSetProgress(GDALTranslateOptions *psOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Set a progress function.
Definition gdal_translate_lib.cpp:3603
GDALMultiDimInfoOptionsForBinary
struct GDALMultiDimInfoOptionsForBinary GDALMultiDimInfoOptionsForBinary
Opaque type.
Definition gdal_utils.h:278
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:76
GDALMultiDimInfoOptions
struct GDALMultiDimInfoOptions GDALMultiDimInfoOptions
Definition gdal_utils.h:275
GDALVectorInfoOptionsNew
GDALVectorInfoOptions * GDALVectorInfoOptionsNew(char **papszArgv, GDALVectorInfoOptionsForBinary *psOptionsForBinary)
Allocates a GDALVectorInfoOptions struct.
Definition ogrinfo_lib.cpp:2537
GDALGridOptionsNew
GDALGridOptions * GDALGridOptionsNew(char **papszArgv, GDALGridOptionsForBinary *psOptionsForBinary)
Allocates a GDALGridOptions struct.
Definition gdal_grid_lib.cpp:1193
GDALTranslateOptionsForBinary
struct GDALTranslateOptionsForBinary GDALTranslateOptionsForBinary
Opaque type.
Definition gdal_utils.h:49
GDALBuildVRTOptions
struct GDALBuildVRTOptions GDALBuildVRTOptions
Definition gdal_utils.h:253
GDALTileIndexOptionsSetProgress
void GDALTileIndexOptionsSetProgress(GDALTileIndexOptions *psOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Set a progress function.
Definition gdaltindex_lib.cpp:3008
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:1843
GDALVectorTranslateOptions
struct GDALVectorTranslateOptions GDALVectorTranslateOptions
Definition gdal_utils.h:93
GDALDEMProcessingOptionsFree
void GDALDEMProcessingOptionsFree(GDALDEMProcessingOptions *psOptions)
Frees the GDALDEMProcessingOptions struct.
Definition gdaldem_lib.cpp:4427
GDALNearblackOptionsFree
void GDALNearblackOptionsFree(GDALNearblackOptions *psOptions)
Frees the GDALNearblackOptions struct.
Definition nearblack_lib.cpp:974
GDALContourOptionsForBinary
struct GDALContourOptionsForBinary GDALContourOptionsForBinary
Opaque type.
Definition gdal_utils.h:180
GDALContourOptionsSetProgress
void GDALContourOptionsSetProgress(GDALContourOptions *psOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Set a progress function.
Definition gdal_contour_lib.cpp:83
GDALFootprintOptionsSetProgress
void GDALFootprintOptionsSetProgress(GDALFootprintOptions *psOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Set a progress function.
Definition gdal_footprint_lib.cpp:1528
GDALWarpAppOptions
struct GDALWarpAppOptions GDALWarpAppOptions
Definition gdal_utils.h:67
GDALRasterizeOptionsNew
GDALRasterizeOptions * GDALRasterizeOptionsNew(char **papszArgv, GDALRasterizeOptionsForBinary *psOptionsForBinary)
Allocates a GDALRasterizeOptions struct.
Definition gdal_rasterize_lib.cpp:1430
GDALTileIndexOptionsNew
GDALTileIndexOptions * GDALTileIndexOptionsNew(char **papszArgv, GDALTileIndexOptionsForBinary *psOptionsForBinary)
Allocates a GDALTileIndexOptions struct.
Definition gdaltindex_lib.cpp:2860
GDALGridOptionsSetProgress
void GDALGridOptionsSetProgress(GDALGridOptions *psOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Set a progress function.
Definition gdal_grid_lib.cpp:1441
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:959
GDALRasterizeOptionsForBinary
struct GDALRasterizeOptionsForBinary GDALRasterizeOptionsForBinary
Opaque type.
Definition gdal_utils.h:214