13#ifndef GDAL_UTILS_PRIV_H_INCLUDED
14#define GDAL_UTILS_PRIV_H_INCLUDED
29 std::string osFilename{};
32 CPLStringList aosOpenOptions{};
38 CPLStringList aosAllowedInputDrivers{};
43 std::string osProcessing{};
44 std::string osSrcFilename{};
45 std::string osColorFilename{};
46 std::string osDstFilename{};
60} GDALVectorTranslateAccessMode;
64 std::string osDataSource{};
65 std::string osDestDataSource{};
67 CPLStringList aosOpenOptions{};
68 std::string osFormat{};
69 GDALVectorTranslateAccessMode eAccessMode = ACCESS_CREATION;
70 bool bShowUsageIfError =
false;
73 CPLStringList aosAllowInputDrivers{};
78 CPLStringList aosOpenOptions{};
79 CPLStringList aosCreationOptions{};
81 std::string osDestDataSource{};
82 std::string osSrcDataSource{};
88 std::string osFilename{};
91 CPLStringList aosAllowInputDrivers{};
94 CPLStringList aosOpenOptions{};
99 std::string osSource{};
100 std::string osDest{};
101 std::string osFormat{};
103 bool bUpdate =
false;
106 CPLStringList aosAllowInputDrivers{};
109 CPLStringList aosOpenOptions{};
115 std::string osFilename{};
117 bool bVerbose =
true;
119 bool bReadOnly =
false;
121 bool bUpdate =
false;
123 std::string osSQLStatement{};
126 CPLStringList aosOpenOptions{};
129 CPLStringList aosAllowInputDrivers{};
134 std::string osSource{};
135 std::string osDest{};
137 CPLStringList aosOpenOptions{};
142 std::string osSource{};
143 bool bDestSpecified =
false;
144 std::string osDest{};
146 CPLStringList aosOpenOptions{};
147 bool bCreateOutput =
false;
148 std::string osFormat{};
153 std::string osSource{};
154 bool bDestSpecified =
false;
155 std::string osDest{};
157 CPLStringList aosOpenOptions{};
158 bool bCreateOutput =
false;
159 std::string osFormat{};
162 bool bOverwrite =
false;
164 std::string osDestLayerName{};
169 CPLStringList aosSrcFiles{};
170 bool bDestSpecified =
false;
171 std::string osDest{};
177 std::string osInFile{};
178 std::string osOutFile{};
184 std::string osSource{};
185 std::string osDest{};
187 bool bCopySubDatasets =
false;
188 CPLStringList aosOpenOptions{};
189 CPLStringList aosCreateOptions{};
190 std::string osFormat{};
193 CPLStringList aosAllowedInputDrivers{};
198 CPLStringList aosSrcFiles{};
199 std::string osDstFilename{};
201 CPLStringList aosOpenOptions{};
204 CPLStringList aosDestOpenOptions{};
206 CPLStringList aosCreateOptions{};
208 bool bOverwrite =
false;
209 bool bCreateOutput =
false;
212 CPLStringList aosAllowedInputDrivers{};
217 CPLStringList aosSrcFiles{};
218 std::string osDstFilename{};
220 bool bOverwrite =
false;
223std::string CPL_DLL GDALNearblackGetParserUsage();
225std::string CPL_DLL GDALVectorInfoGetParserUsage();
227std::string CPL_DLL GDALTranslateGetParserUsage();
229std::string CPL_DLL GDALMultiDimTranslateAppGetParserUsage();
231std::string CPL_DLL GDALVectorTranslateGetParserUsage();
233std::string CPL_DLL GDALWarpAppGetParserUsage();
235std::string CPL_DLL GDALInfoAppGetParserUsage();
237std::string CPL_DLL GDALMultiDimInfoAppGetParserUsage();
239std::string CPL_DLL GDALGridGetParserUsage();
241std::string CPL_DLL GDALContourGetParserUsage();
243std::string CPL_DLL GDALBuildVRTGetParserUsage();
245std::string CPL_DLL GDALTileIndexAppGetParserUsage();
247std::string CPL_DLL GDALFootprintAppGetParserUsage();
249std::string CPL_DLL GDALRasterizeAppGetParserUsage();
257GDALDEMAppGetParserUsage(
const std::string &osProcessingMode);
262 const char *
const *papszSrcDSNames,
263 const GDALTileIndexOptions *psOptionsIn,
Core portability definitions for CPL.
#define CPL_C_END
Macro to end a block of C symbols.
Definition cpl_port.h:289
#define CPL_C_START
Macro to start a block of C symbols.
Definition cpl_port.h:285
Various convenience functions for working with strings and string lists.
void * GDALDatasetH
Opaque type used for the C bindings of the C++ GDALDataset class.
Definition gdal_fwd.h:42
void * OGRLayerH
Opaque type for a layer (OGRLayer).
Definition gdal_fwd.h:157
Public (C callable) GDAL Utilities entry points.
struct GDALBuildVRTOptionsForBinary GDALBuildVRTOptionsForBinary
Opaque type.
Definition gdal_utils.h:256
struct GDALInfoOptionsForBinary GDALInfoOptionsForBinary
Opaque type.
Definition gdal_utils.h:35
struct GDALFootprintOptionsForBinary GDALFootprintOptionsForBinary
Opaque type.
Definition gdal_utils.h:235
struct GDALMultiDimTranslateOptionsForBinary GDALMultiDimTranslateOptionsForBinary
Opaque type.
Definition gdal_utils.h:293
struct GDALVectorTranslateOptionsForBinary GDALVectorTranslateOptionsForBinary
Opaque type.
Definition gdal_utils.h:96
struct GDALVectorInfoOptionsForBinary GDALVectorInfoOptionsForBinary
Opaque type.
Definition gdal_utils.h:316
struct GDALWarpAppOptionsForBinary GDALWarpAppOptionsForBinary
Opaque type.
Definition gdal_utils.h:70
struct GDALDEMProcessingOptionsForBinary GDALDEMProcessingOptionsForBinary
Opaque type.
Definition gdal_utils.h:118
struct GDALNearblackOptionsForBinary GDALNearblackOptionsForBinary
Opaque type.
Definition gdal_utils.h:139
struct GDALGridOptionsForBinary GDALGridOptionsForBinary
Opaque type.
Definition gdal_utils.h:160
struct GDALTileIndexOptionsForBinary GDALTileIndexOptionsForBinary
Opaque type.
Definition gdal_utils.h:331
struct GDALMultiDimInfoOptionsForBinary GDALMultiDimInfoOptionsForBinary
Opaque type.
Definition gdal_utils.h:278
struct GDALTranslateOptionsForBinary GDALTranslateOptionsForBinary
Opaque type.
Definition gdal_utils.h:49
struct GDALContourOptionsForBinary GDALContourOptionsForBinary
Opaque type.
Definition gdal_utils.h:180
struct GDALRasterizeOptionsForBinary GDALRasterizeOptionsForBinary
Opaque type.
Definition gdal_utils.h:214