I want to use the "clip raster by extent" tool of PyQGIS.
The doc Clip qgis doc says that there are five parameters :
processing.runalg('gdalogr:cliprasterbyextent', input, no_data, projwin, extra, output)
But when I run it, it answers : ALGORITHM: Clip raster by extent
INPUT <ParameterRaster>
NO_DATA <ParameterString>
PROJWIN <ParameterExtent>
RTYPE <ParameterSelection>
COMPRESS <ParameterSelection>
JPEGCOMPRESSION <ParameterNumber>
ZLEVEL <ParameterNumber>
PREDICTOR <ParameterNumber>
TILED <ParameterBoolean>
BIGTIFF <ParameterSelection>
TFW <ParameterBoolean>
EXTRA <ParameterString>
OUTPUT <OutputRaster>
RTYPE(Output raster type)
0 - Byte
1 - Int16
2 - UInt16
3 - UInt32
4 - Int32
5 - Float32
6 - Float64
COMPRESS(GeoTIFF options. Compression type:)
0 - NONE
1 - JPEG
2 - LZW
3 - PACKBITS
4 - DEFLATE
BIGTIFF(Control whether the created file is a BigTIFF or a classic TIFF)
0 -
1 - YES
2 - NO
3 - IF_NEEDED
4 - IF_SAFER
So 14 parameters, even so the doc is for 2.18 version and I have 2.18.9 version.
My questions is : How can I know how to fill this field that are not in the doc ? There are some help for rtype, compress and bigtif but not for the others.
I didn't name my topic with Clip tool name as that is not the only tool that make that. Last time,for create grids, I finally followed the advises of python console, but this time I would like to understand more generally how to solve the problem.

