13#ifndef GDAL_UTILS_PRIV_H_INCLUDED
14#define GDAL_UTILS_PRIV_H_INCLUDED
31 std::string osFilename{};
45 std::string osProcessing{};
46 std::string osSrcFilename{};
47 std::string osColorFilename{};
48 std::string osDstFilename{};
62} GDALVectorTranslateAccessMode;
66 std::string osDataSource{};
67 std::string osDestDataSource{};
70 std::string osFormat{};
71 GDALVectorTranslateAccessMode eAccessMode = ACCESS_CREATION;
72 bool bShowUsageIfError =
false;
83 std::string osDestDataSource{};
84 std::string osSrcDataSource{};
90 std::string osFilename{};
101 std::string osSource{};
102 std::string osDest{};
103 std::string osFormat{};
105 bool bUpdate =
false;
117 std::string osFilename{};
119 bool bVerbose =
true;
121 bool bReadOnly =
false;
123 bool bUpdate =
false;
125 std::string osSQLStatement{};
136 std::string osSource{};
137 std::string osDest{};
144 std::string osSource{};
145 bool bDestSpecified =
false;
146 std::string osDest{};
149 bool bCreateOutput =
false;
150 std::string osFormat{};
155 std::string osSource{};
156 bool bDestSpecified =
false;
157 std::string osDest{};
160 bool bCreateOutput =
false;
161 std::string osFormat{};
164 bool bOverwrite =
false;
166 std::string osDestLayerName{};
172 bool bDestSpecified =
false;
173 std::string osDest{};
179 std::string osInFile{};
180 std::string osOutFile{};
186 std::string osSource{};
187 std::string osDest{};
189 bool bCopySubDatasets =
false;
192 std::string osFormat{};
201 std::string osDstFilename{};
210 bool bOverwrite =
false;
211 bool bCreateOutput =
false;
220 std::string osDstFilename{};
222 bool bOverwrite =
false;
225std::string CPL_DLL GDALNearblackGetParserUsage();
227std::string CPL_DLL GDALVectorInfoGetParserUsage();
229std::string CPL_DLL GDALTranslateGetParserUsage();
231std::string CPL_DLL GDALMultiDimTranslateAppGetParserUsage();
233std::string CPL_DLL GDALVectorTranslateGetParserUsage();
235std::string CPL_DLL GDALWarpAppGetParserUsage();
237std::string CPL_DLL GDALInfoAppGetParserUsage();
239std::string CPL_DLL GDALMultiDimInfoAppGetParserUsage();
241std::string CPL_DLL GDALGridGetParserUsage();
243std::string CPL_DLL GDALContourGetParserUsage();
245std::string CPL_DLL GDALBuildVRTGetParserUsage();
247std::string CPL_DLL GDALTileIndexAppGetParserUsage();
249std::string CPL_DLL GDALFootprintAppGetParserUsage();
251std::string CPL_DLL GDALRasterizeAppGetParserUsage();
259GDALDEMAppGetParserUsage(
const std::string &osProcessingMode);
264 const char *
const *papszSrcDSNames,
265 const GDALTileIndexOptions *psOptionsIn,
270void EmitTextDisplayOfCRS(
272 const std::string &osIntroText,
273 std::function<
void(
const std::string &)> printFunction);
String list class designed around our use of C "char**" string lists.
Definition cpl_string.h:476
This class represents an OpenGIS Spatial Reference System, and contains methods for converting betwee...
Definition ogr_spatialref.h:152
Core portability definitions for CPL.
#define CPL_C_END
Macro to end a block of C symbols.
Definition cpl_port.h:279
#define CPL_C_START
Macro to start a block of C symbols.
Definition cpl_port.h:275
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