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 GDALFootprintOptions GDALFootprintOptions;
216
218 typedef struct GDALFootprintOptionsForBinary GDALFootprintOptionsForBinary;
219
220 GDALFootprintOptions CPL_DLL *
221 GDALFootprintOptionsNew(char **papszArgv,
222 GDALFootprintOptionsForBinary *psOptionsForBinary);
223
224 void CPL_DLL GDALFootprintOptionsFree(GDALFootprintOptions *psOptions);
225
226 void CPL_DLL GDALFootprintOptionsSetProgress(GDALFootprintOptions *psOptions,
227 GDALProgressFunc pfnProgress,
228 void *pProgressData);
229
230 GDALDatasetH CPL_DLL GDALFootprint(const char *pszDest, GDALDatasetH hDstDS,
231 GDALDatasetH hSrcDS,
232 const GDALFootprintOptions *psOptions,
233 int *pbUsageError);
234
236 typedef struct GDALBuildVRTOptions GDALBuildVRTOptions;
237
239 typedef struct GDALBuildVRTOptionsForBinary GDALBuildVRTOptionsForBinary;
240
241 GDALBuildVRTOptions CPL_DLL *
242 GDALBuildVRTOptionsNew(char **papszArgv,
243 GDALBuildVRTOptionsForBinary *psOptionsForBinary);
244
245 void CPL_DLL GDALBuildVRTOptionsFree(GDALBuildVRTOptions *psOptions);
246
247 void CPL_DLL GDALBuildVRTOptionsSetProgress(GDALBuildVRTOptions *psOptions,
248 GDALProgressFunc pfnProgress,
249 void *pProgressData);
250
251 GDALDatasetH CPL_DLL GDALBuildVRT(const char *pszDest, int nSrcCount,
252 GDALDatasetH *pahSrcDS,
253 const char *const *papszSrcDSNames,
254 const GDALBuildVRTOptions *psOptions,
255 int *pbUsageError);
256
258 typedef struct GDALMultiDimInfoOptions GDALMultiDimInfoOptions;
259
261 typedef struct GDALMultiDimInfoOptionsForBinary
262 GDALMultiDimInfoOptionsForBinary;
263
264 GDALMultiDimInfoOptions CPL_DLL *GDALMultiDimInfoOptionsNew(
265 char **papszArgv, GDALMultiDimInfoOptionsForBinary *psOptionsForBinary);
266
267 void CPL_DLL GDALMultiDimInfoOptionsFree(GDALMultiDimInfoOptions *psOptions);
268
269 char CPL_DLL *GDALMultiDimInfo(GDALDatasetH hDataset,
270 const GDALMultiDimInfoOptions *psOptions);
271
273 typedef struct GDALMultiDimTranslateOptions GDALMultiDimTranslateOptions;
274
276 typedef struct GDALMultiDimTranslateOptionsForBinary
277 GDALMultiDimTranslateOptionsForBinary;
278
279 GDALMultiDimTranslateOptions CPL_DLL *GDALMultiDimTranslateOptionsNew(
280 char **papszArgv,
281 GDALMultiDimTranslateOptionsForBinary *psOptionsForBinary);
282
283 void CPL_DLL
284 GDALMultiDimTranslateOptionsFree(GDALMultiDimTranslateOptions *psOptions);
285
286 void CPL_DLL GDALMultiDimTranslateOptionsSetProgress(
287 GDALMultiDimTranslateOptions *psOptions, GDALProgressFunc pfnProgress,
288 void *pProgressData);
289
290 GDALDatasetH CPL_DLL GDALMultiDimTranslate(
291 const char *pszDest, GDALDatasetH hDstDataset, int nSrcCount,
292 GDALDatasetH *pahSrcDS, const GDALMultiDimTranslateOptions *psOptions,
293 int *pbUsageError);
294
296 typedef struct GDALVectorInfoOptions GDALVectorInfoOptions;
297
299 typedef struct GDALVectorInfoOptionsForBinary GDALVectorInfoOptionsForBinary;
300
301 GDALVectorInfoOptions CPL_DLL *
302 GDALVectorInfoOptionsNew(char **papszArgv,
303 GDALVectorInfoOptionsForBinary *psOptionsForBinary);
304
305 void CPL_DLL GDALVectorInfoOptionsFree(GDALVectorInfoOptions *psOptions);
306
307 char CPL_DLL *GDALVectorInfo(GDALDatasetH hDataset,
308 const GDALVectorInfoOptions *psOptions);
309
311 typedef struct GDALTileIndexOptions GDALTileIndexOptions;
312
314 typedef struct GDALTileIndexOptionsForBinary GDALTileIndexOptionsForBinary;
315
316 GDALTileIndexOptions CPL_DLL *
317 GDALTileIndexOptionsNew(char **papszArgv,
318 GDALTileIndexOptionsForBinary *psOptionsForBinary);
319
320 void CPL_DLL GDALTileIndexOptionsFree(GDALTileIndexOptions *psOptions);
321
322 GDALDatasetH CPL_DLL GDALTileIndex(const char *pszDest, int nSrcCount,
323 const char *const *papszSrcDSNames,
324 const GDALTileIndexOptions *psOptions,
325 int *pbUsageError);
326
327 CPL_C_END
328
329#endif /* GDAL_UTILS_H_INCLUDED */
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:299
CPL_C_START
#define CPL_C_START
Macro to start a block of C symbols.
Definition cpl_port.h:295
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.h:291
GDALMultiDimTranslateOptionsNew
GDALMultiDimTranslateOptions * GDALMultiDimTranslateOptionsNew(char **papszArgv, GDALMultiDimTranslateOptionsForBinary *psOptionsForBinary)
Allocates a GDALMultiDimTranslateOptions struct.
Definition gdalmdimtranslate_lib.cpp:1802
GDALInfo
char * GDALInfo(GDALDatasetH hDataset, const GDALInfoOptions *psOptions)
Lists various information about a GDAL supported raster dataset.
Definition gdalinfo_lib.cpp:399
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:1812
GDALWarpAppOptionsFree
void GDALWarpAppOptionsFree(GDALWarpAppOptions *psOptions)
Frees the GDALWarpAppOptions struct.
Definition gdalwarp_lib.cpp:6305
GDALFootprintOptionsFree
void GDALFootprintOptionsFree(GDALFootprintOptions *psOptions)
Frees the GDALFootprintOptions struct.
Definition gdal_footprint_lib.cpp:1475
GDALBuildVRTOptionsForBinary
struct GDALBuildVRTOptionsForBinary GDALBuildVRTOptionsForBinary
Opaque type.
Definition gdal_utils.h:239
GDALInfoOptions
struct GDALInfoOptions GDALInfoOptions
Definition gdal_utils.h:49
GDALInfoOptionsForBinary
struct GDALInfoOptionsForBinary GDALInfoOptionsForBinary
Opaque type.
Definition gdal_utils.h:52
GDALInfoOptionsFree
void GDALInfoOptionsFree(GDALInfoOptions *psOptions)
Frees the GDALInfoOptions struct.
Definition gdalinfo_lib.cpp:2325
GDALTranslate
GDALDatasetH GDALTranslate(const char *pszDestFilename, GDALDatasetH hSrcDataset, const GDALTranslateOptions *psOptions, int *pbUsageError)
Converts raster data between different formats.
Definition gdal_translate_lib.cpp:695
GDALTileIndexOptions
struct GDALTileIndexOptions GDALTileIndexOptions
Definition gdal_utils.h:311
GDALFootprintOptionsForBinary
struct GDALFootprintOptionsForBinary GDALFootprintOptionsForBinary
Opaque type.
Definition gdal_utils.h:218
GDALMultiDimTranslateOptionsForBinary
struct GDALMultiDimTranslateOptionsForBinary GDALMultiDimTranslateOptionsForBinary
Opaque type.
Definition gdal_utils.h:276
GDALVectorTranslateOptionsFree
void GDALVectorTranslateOptionsFree(GDALVectorTranslateOptions *psOptions)
Frees the GDALVectorTranslateOptions struct.
Definition ogr2ogr_lib.cpp:7840
GDALVectorTranslateOptionsForBinary
struct GDALVectorTranslateOptionsForBinary GDALVectorTranslateOptionsForBinary
Opaque type.
Definition gdal_utils.h:113
GDALVectorInfoOptionsForBinary
struct GDALVectorInfoOptionsForBinary GDALVectorInfoOptionsForBinary
Opaque type.
Definition gdal_utils.h:299
GDALVectorTranslateOptionsSetProgress
void GDALVectorTranslateOptionsSetProgress(GDALVectorTranslateOptions *psOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Set a progress function.
Definition ogr2ogr_lib.cpp:7859
GDALMultiDimInfoOptionsNew
GDALMultiDimInfoOptions * GDALMultiDimInfoOptionsNew(char **papszArgv, GDALMultiDimInfoOptionsForBinary *psOptionsForBinary)
Allocates a GDALMultiDimInfo struct.
Definition gdalmdiminfo_lib.cpp:1180
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:307
GDALDEMProcessingOptions
struct GDALDEMProcessingOptions GDALDEMProcessingOptions
Definition gdal_utils.h:132
GDALWarpAppOptionsNew
GDALWarpAppOptions * GDALWarpAppOptionsNew(char **papszArgv, GDALWarpAppOptionsForBinary *psOptionsForBinary)
Allocates a GDALWarpAppOptions struct.
Definition gdalwarp_lib.cpp:6105
GDALDEMProcessingOptionsNew
GDALDEMProcessingOptions * GDALDEMProcessingOptionsNew(char **papszArgv, GDALDEMProcessingOptionsForBinary *psOptionsForBinary)
Allocates a GDALDEMProcessingOptions struct.
Definition gdaldem_lib.cpp:3781
GDALMultiDimTranslateOptionsFree
void GDALMultiDimTranslateOptionsFree(GDALMultiDimTranslateOptions *psOptions)
Frees the GDALMultiDimTranslateOptions struct.
Definition gdalmdimtranslate_lib.cpp:1948
GDALWarpAppOptionsForBinary
struct GDALWarpAppOptionsForBinary GDALWarpAppOptionsForBinary
Opaque type.
Definition gdal_utils.h:87
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:1086
GDALNearblackOptionsSetProgress
void GDALNearblackOptionsSetProgress(GDALNearblackOptions *psOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Set a progress function.
Definition nearblack_lib.cpp:976
GDALRasterizeOptionsFree
void GDALRasterizeOptionsFree(GDALRasterizeOptions *psOptions)
Frees the GDALRasterizeOptions struct.
Definition gdal_rasterize_lib.cpp:1467
GDALVectorInfoOptions
struct GDALVectorInfoOptions GDALVectorInfoOptions
Definition gdal_utils.h:296
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:3221
GDALTileIndexOptionsFree
void GDALTileIndexOptionsFree(GDALTileIndexOptions *psOptions)
Frees the GDALTileIndexOptions struct.
Definition gdaltindex_lib.cpp:1400
GDALNearblackOptions
struct GDALNearblackOptions GDALNearblackOptions
Definition gdal_utils.h:153
GDALRasterizeOptions
struct GDALRasterizeOptions GDALRasterizeOptions
Definition gdal_utils.h:194
GDALWarpAppOptionsSetProgress
void GDALWarpAppOptionsSetProgress(GDALWarpAppOptions *psOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Set a progress function.
Definition gdalwarp_lib.cpp:6324
GDALDEMProcessingOptionsForBinary
struct GDALDEMProcessingOptionsForBinary GDALDEMProcessingOptionsForBinary
Opaque type.
Definition gdal_utils.h:135
GDALMultiDimInfoOptionsFree
void GDALMultiDimInfoOptionsFree(GDALMultiDimInfoOptions *psOptions)
Frees the GDALMultiDimInfoOptions struct.
Definition gdalmdiminfo_lib.cpp:1279
GDALBuildVRTOptionsFree
void GDALBuildVRTOptionsFree(GDALBuildVRTOptions *psOptions)
Frees the GDALBuildVRTOptions struct.
Definition gdalbuildvrt_lib.cpp:2334
GDALTranslateOptionsNew
GDALTranslateOptions * GDALTranslateOptionsNew(char **papszArgv, GDALTranslateOptionsForBinary *psOptionsForBinary)
Allocates a GDALTranslateOptions struct.
Definition gdal_translate_lib.cpp:3210
GDALMultiDimTranslateOptionsSetProgress
void GDALMultiDimTranslateOptionsSetProgress(GDALMultiDimTranslateOptions *psOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Set a progress function.
Definition gdalmdimtranslate_lib.cpp:1967
GDALInfoOptionsNew
GDALInfoOptions * GDALInfoOptionsNew(char **papszArgv, GDALInfoOptionsForBinary *psOptionsForBinary)
Allocates a GDALInfoOptions struct.
Definition gdalinfo_lib.cpp:2274
GDALRasterizeOptionsSetProgress
void GDALRasterizeOptionsSetProgress(GDALRasterizeOptions *psOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Set a progress function.
Definition gdal_rasterize_lib.cpp:1501
GDALVectorInfo
char * GDALVectorInfo(GDALDatasetH hDataset, const GDALVectorInfoOptions *psOptions)
Lists various information about a GDAL supported vector dataset.
Definition ogrinfo_lib.cpp:1836
GDALTranslateOptions
struct GDALTranslateOptions GDALTranslateOptions
Definition gdal_utils.h:63
GDALGridOptionsFree
void GDALGridOptionsFree(GDALGridOptions *psOptions)
Frees the GDALGridOptions struct.
Definition gdal_grid_lib.cpp:1446
GDALGridOptions
struct GDALGridOptions GDALGridOptions
Definition gdal_utils.h:174
GDALNearblackOptionsNew
GDALNearblackOptions * GDALNearblackOptionsNew(char **papszArgv, GDALNearblackOptionsForBinary *psOptionsForBinary)
Allocates a GDALNearblackOptions struct.
Definition nearblack_lib.cpp:923
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:2152
GDALFootprintOptionsNew
GDALFootprintOptions * GDALFootprintOptionsNew(char **papszArgv, GDALFootprintOptionsForBinary *psOptionsForBinary)
Allocates a GDALFootprintOptions struct.
Definition gdal_footprint_lib.cpp:1187
GDALNearblackOptionsForBinary
struct GDALNearblackOptionsForBinary GDALNearblackOptionsForBinary
Opaque type.
Definition gdal_utils.h:156
GDALDEMProcessingOptionsSetProgress
void GDALDEMProcessingOptionsSetProgress(GDALDEMProcessingOptions *psOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Set a progress function.
Definition gdaldem_lib.cpp:4063
GDALGridOptionsForBinary
struct GDALGridOptionsForBinary GDALGridOptionsForBinary
Opaque type.
Definition gdal_utils.h:177
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:1393
GDALVectorTranslateOptionsNew
GDALVectorTranslateOptions * GDALVectorTranslateOptionsNew(char **papszArgv, GDALVectorTranslateOptionsForBinary *psOptionsForBinary)
allocates a GDALVectorTranslateOptions struct.
Definition ogr2ogr_lib.cpp:7534
GDALTileIndexOptionsForBinary
struct GDALTileIndexOptionsForBinary GDALTileIndexOptionsForBinary
Opaque type.
Definition gdal_utils.h:314
GDALGrid
GDALDatasetH GDALGrid(const char *pszDest, GDALDatasetH hSrcDS, const GDALGridOptions *psOptions, int *pbUsageError)
Create raster from the scattered data.
Definition gdal_grid_lib.cpp:641
GDALMultiDimInfo
char * GDALMultiDimInfo(GDALDatasetH hDataset, const GDALMultiDimInfoOptions *psOptions)
Lists various information about a GDAL multidimensional dataset.
Definition gdalmdiminfo_lib.cpp:1087
GDALBuildVRTOptionsNew
GDALBuildVRTOptions * GDALBuildVRTOptionsNew(char **papszArgv, GDALBuildVRTOptionsForBinary *psOptionsForBinary)
Allocates a GDALBuildVRTOptions struct.
Definition gdalbuildvrt_lib.cpp:2254
GDALVectorInfoOptionsFree
void GDALVectorInfoOptionsFree(GDALVectorInfoOptions *psOptions)
Frees the GDALVectorInfoOptions struct.
Definition ogrinfo_lib.cpp:100
GDALWarpAppOptionsSetWarpOption
void GDALWarpAppOptionsSetWarpOption(GDALWarpAppOptions *psOptions, const char *pszKey, const char *pszValue)
Set a warp option.
Definition gdalwarp_lib.cpp:6366
GDALBuildVRTOptionsSetProgress
void GDALBuildVRTOptionsSetProgress(GDALBuildVRTOptions *psOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Set a progress function.
Definition gdalbuildvrt_lib.cpp:2353
GDALFootprintOptions
struct GDALFootprintOptions GDALFootprintOptions
Definition gdal_utils.h:215
GDALWarpAppOptionsSetQuiet
void GDALWarpAppOptionsSetQuiet(GDALWarpAppOptions *psOptions, int bQuiet)
Set a progress function.
Definition gdalwarp_lib.cpp:6347
GDALMultiDimTranslateOptions
struct GDALMultiDimTranslateOptions GDALMultiDimTranslateOptions
Definition gdal_utils.h:273
GDALTranslateOptionsFree
void GDALTranslateOptionsFree(GDALTranslateOptions *psOptions)
Frees the GDALTranslateOptions struct.
Definition gdal_translate_lib.cpp:3528
GDALTranslateOptionsSetProgress
void GDALTranslateOptionsSetProgress(GDALTranslateOptions *psOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Set a progress function.
Definition gdal_translate_lib.cpp:3547
GDALMultiDimInfoOptionsForBinary
struct GDALMultiDimInfoOptionsForBinary GDALMultiDimInfoOptionsForBinary
Opaque type.
Definition gdal_utils.h:261
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:92
GDALMultiDimInfoOptions
struct GDALMultiDimInfoOptions GDALMultiDimInfoOptions
Definition gdal_utils.h:258
GDALVectorInfoOptionsNew
GDALVectorInfoOptions * GDALVectorInfoOptionsNew(char **papszArgv, GDALVectorInfoOptionsForBinary *psOptionsForBinary)
Allocates a GDALVectorInfoOptions struct.
Definition ogrinfo_lib.cpp:2504
GDALGridOptionsNew
GDALGridOptions * GDALGridOptionsNew(char **papszArgv, GDALGridOptionsForBinary *psOptionsForBinary)
Allocates a GDALGridOptions struct.
Definition gdal_grid_lib.cpp:1218
GDALTranslateOptionsForBinary
struct GDALTranslateOptionsForBinary GDALTranslateOptionsForBinary
Opaque type.
Definition gdal_utils.h:66
GDALBuildVRTOptions
struct GDALBuildVRTOptions GDALBuildVRTOptions
Definition gdal_utils.h:236
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:1640
GDALVectorTranslateOptions
struct GDALVectorTranslateOptions GDALVectorTranslateOptions
Definition gdal_utils.h:110
GDALDEMProcessingOptionsFree
void GDALDEMProcessingOptionsFree(GDALDEMProcessingOptions *psOptions)
Frees the GDALDEMProcessingOptions struct.
Definition gdaldem_lib.cpp:4038
GDALNearblackOptionsFree
void GDALNearblackOptionsFree(GDALNearblackOptions *psOptions)
Frees the GDALNearblackOptions struct.
Definition nearblack_lib.cpp:957
GDALFootprintOptionsSetProgress
void GDALFootprintOptionsSetProgress(GDALFootprintOptions *psOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Set a progress function.
Definition gdal_footprint_lib.cpp:1494
GDALWarpAppOptions
struct GDALWarpAppOptions GDALWarpAppOptions
Definition gdal_utils.h:84
GDALRasterizeOptionsNew
GDALRasterizeOptions * GDALRasterizeOptionsNew(char **papszArgv, GDALRasterizeOptionsForBinary *psOptionsForBinary)
Allocates a GDALRasterizeOptions struct.
Definition gdal_rasterize_lib.cpp:1007
GDALTileIndexOptionsNew
GDALTileIndexOptions * GDALTileIndexOptionsNew(char **papszArgv, GDALTileIndexOptionsForBinary *psOptionsForBinary)
Allocates a GDALTileIndexOptions struct.
Definition gdaltindex_lib.cpp:1165
GDALGridOptionsSetProgress
void GDALGridOptionsSetProgress(GDALGridOptions *psOptions, GDALProgressFunc pfnProgress, void *pProgressData)
Set a progress function.
Definition gdal_grid_lib.cpp:1465
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:692
GDALRasterizeOptionsForBinary
struct GDALRasterizeOptionsForBinary GDALRasterizeOptionsForBinary
Opaque type.
Definition gdal_utils.h:197