00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #ifndef GDAL_UTILS_PRIV_H_INCLUDED
00031 #define GDAL_UTILS_PRIV_H_INCLUDED
00032
00033 #include "cpl_port.h"
00034 #include "gdal_utils.h"
00035
00036
00037
00038 CPL_C_START
00039
00040 struct GDALInfoOptionsForBinary
00041 {
00042
00043 char* pszFilename;
00044
00045
00046 char** papszOpenOptions;
00047
00048
00049 int nSubdataset;
00050 };
00051
00052 struct GDALTranslateOptionsForBinary
00053 {
00054 char* pszSource;
00055 char* pszDest;
00056 int bQuiet;
00057 int bCopySubDatasets;
00058 char** papszOpenOptions;
00059 int bFormatExplicitlySet;
00060 char* pszFormat;
00061 };
00062
00063 struct GDALWarpAppOptionsForBinary
00064 {
00065 char** papszSrcFiles;
00066 char* pszDstFilename;
00067 int bQuiet;
00068 char** papszOpenOptions;
00069
00071 char **papszDestOpenOptions;
00072
00073 int bOverwrite;
00074 int bCreateOutput;
00075 int bFormatExplicitlySet;
00076 char* pszFormat;
00077 };
00078
00079
00080 typedef enum
00081 {
00082 ACCESS_CREATION,
00083 ACCESS_UPDATE,
00084 ACCESS_APPEND,
00085 ACCESS_OVERWRITE
00086 } GDALVectorTranslateAccessMode;
00087
00088 struct GDALVectorTranslateOptionsForBinary
00089 {
00090 char* pszDataSource;
00091 char* pszDestDataSource;
00092 int bQuiet;
00093 char** papszOpenOptions;
00094 int bFormatExplicitlySet;
00095 char* pszFormat;
00096 GDALVectorTranslateAccessMode eAccessMode;
00097 };
00098
00099 struct GDALDEMProcessingOptionsForBinary
00100 {
00101 char* pszProcessing;
00102 char* pszSrcFilename;
00103 char* pszColorFilename;
00104 char* pszDstFilename;
00105 int bQuiet;
00106 int bFormatExplicitlySet;
00107 char* pszFormat;
00108 };
00109
00110 struct GDALNearblackOptionsForBinary
00111 {
00112 char* pszInFile;
00113 char* pszOutFile;
00114 int bQuiet;
00115 int bFormatExplicitlySet;
00116 char* pszFormat;
00117 };
00118
00119 struct GDALGridOptionsForBinary
00120 {
00121 char* pszSource;
00122 char* pszDest;
00123 int bQuiet;
00124 int bFormatExplicitlySet;
00125 char* pszFormat;
00126 };
00127
00128 struct GDALRasterizeOptionsForBinary
00129 {
00130 char* pszSource;
00131 char* pszDest;
00132 int bQuiet;
00133 int bFormatExplicitlySet;
00134 char* pszFormat;
00135 int bCreateOutput;
00136 };
00137
00138 struct GDALBuildVRTOptionsForBinary
00139 {
00140 int nSrcFiles;
00141 char** papszSrcFiles;
00142 char* pszDstFilename;
00143 int bQuiet;
00144 int bOverwrite;
00145 };
00146
00147 CPL_C_END
00148
00149 #endif