GDALWarpAppOptions Struct Reference

List of all members.

Public Attributes

double dfMinX
double dfMinY
double dfMaxX
double dfMaxY
char * pszTE_SRS
double dfXRes
double dfYRes
int bTargetAlignedPixels
int nForcePixels
int nForceLines
int bQuiet
GDALProgressFunc pfnProgress
void * pProgressData
int bEnableDstAlpha
int bEnableSrcAlpha
char * pszFormat
int bCreateOutput
char ** papszWarpOptions
double dfErrorThreshold
double dfWarpMemoryLimit
char ** papszCreateOptions
GDALDataType eOutputType
GDALDataType eWorkingType
GDALResampleAlg eResampleAlg
char * pszSrcNodata
char * pszDstNodata
int bMulti
char ** papszTO
char * pszCutlineDSName
char * pszCLayer
char * pszCWHERE
char * pszCSQL
int bCropToCutline
int bCopyMetadata
int bCopyBandInfo
char * pszMDConflictValue
int bSetColorInterpretation
int nOvLevel

Detailed Description

Options for use with GDALWarp(). GDALWarpAppOptions* must be allocated and freed with GDALWarpAppOptionsNew() and GDALWarpAppOptionsFree() respectively.


Member Data Documentation

copy band information from the first source dataset

copy dataset and band metadata will be copied from the first source dataset. Items that differ between source datasets will be set "*" (see GDALWarpAppOptions::pszMDConflictValue)

crop the extent of the target dataset to the extent of the cutline

creates an output alpha band to identify nodata (unset/transparent) pixels when set to TRUE

use multithreaded warping implementation. Multiple threads will be used to process chunks of image and perform input/output operation simultaneously.

allow or suppress progress monitor and other non-error output

set the color interpretation of the bands of the target dataset from the source dataset

align the coordinates of the extent of the output file to the values of the GDALWarpAppOptions::dfXRes and GDALWarpAppOptions::dfYRes, such that the aligned extent includes the minimum extent.

set georeferenced extents of output file to be created (in target SRS by default, or in the SRS specified with pszTE_SRS)

the amount of memory (in megabytes) that the warp API is allowed to use for caching.

set output file resolution (in target georeferenced units)

the data type of the output bands

the resampling method. Available methods are: near, bilinear, cubic, cubicspline, lanczos, average, mode, max, min, med, q1, q3

working pixel data type. The data type of pixels in the source image and destination image buffers.

set output file size in pixels and lines. If GDALWarpAppOptions::nForcePixels or GDALWarpAppOptions::nForceLines is set to 0, the other dimension will be guessed from the computed resolution. Note that GDALWarpAppOptions::nForcePixels and GDALWarpAppOptions::nForceLines cannot be used with GDALWarpAppOptions::dfXRes and GDALWarpAppOptions::dfYRes.

overview level of source files to be used

list of create options for the output format driver. See format specific documentation for legal creation options for each format.

list of transformer options suitable to pass to GDALCreateGenImgProjTransformer2(). ("NAME1=VALUE1","NAME2=VALUE2",...)

list of warp options. ("NAME1=VALUE1","NAME2=VALUE2",...). The GDALWarpOptions::papszWarpOptions docs show all options.

the progress function to use

pointer to the progress data variable

the named layer to be selected from the cutline datasource

SQL query to select the cutline features instead of from a layer with pszCLayer

enable use of a blend cutline from the name OGR support pszCutlineDSName

restrict desired cutline features based on attribute query

nodata values for output bands (different values can be supplied for each band). ("value1 value2 ..."). New files will be initialized to this value and if possible the nodata value will be recorded in the output file. Use a value of "None" to ensure that nodata is not defined. If this argument is not used then nodata values will be copied from the source dataset.

output format. The default is GeoTIFF (GTiff). Use the short format name.

value to set metadata items that conflict between source datasets (default is "*"). Use "" to remove conflicting items.

nodata masking values for input bands (different values can be supplied for each band). ("value1 value2 ..."). Masked values will not be used in interpolation. Use a value of "None" to ignore intrinsic nodata settings on the source dataset.

the SRS in which to interpret the coordinates given in GDALWarpAppOptions::dfMinX, GDALWarpAppOptions::dfMinY, GDALWarpAppOptions::dfMaxX and GDALWarpAppOptions::dfMaxY. The SRS may be any of the usual GDAL/OGR forms, complete WKT, PROJ.4, EPSG:n or a file containing the WKT. It is a convenience e.g. when knowing the output coordinates in a geodetic long/lat SRS, but still wanting a result in a projected coordinate system.


The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Typedefs

Generated on 16 Nov 2017 by  doxygen 1.6.1