Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[processing][SAGA] Resync parameters for resample tool
Loading branch information
@@ -3,8 +3,8 @@ grid_tools
QgsProcessingParameterRasterLayer|INPUT|Grid|None|False
QgsProcessingParameterBoolean|KEEP_TYPE|Preserve Data Type|True
Hardcoded|-TARGET_DEFINITION 0
QgsProcessingParameterEnum|SCALE_UP|Upscaling Method|[0] Nearest Neighbor;[1] Bilinear Interpolation;[2] Inverse Distance Interpolation;[3] Bicubic Spline Interpolation;[4 ] B-Spline Interpolation;[5 ] Mean Value;[6 ] Mean Value (cell area weighted);[7 ] Minimum Value;[8 ] Maximum Value;[9 ] Majority
QgsProcessingParameterEnum|SCALE_DOWN|Downscaling Method|[0] Nearest Neighbor;[1] Bilinear Interpolation;[2] Inverse Distance Interpolation;[3] Bicubic Spline Interpolation;[4 ] B-Spline Interpolation
QgsProcessingParameterEnum|SCALE_UP|Upscaling Method|[0] Nearest Neighbor;[1] Bilinear Interpolation;[2] Bicubic Spline Interpolation;[3 ] B-Spline Interpolation;[4 ] Mean Value;[5 ] Mean Value (cell area weighted);[6 ] Minimum Value;[7 ] Maximum Value;[8 ] Majority|False|5
QgsProcessingParameterEnum|SCALE_DOWN|Downscaling Method|[0] Nearest Neighbor;[1] Bilinear Interpolation;[2] Bicubic Spline Interpolation;[3 ] B-Spline Interpolation|False|3
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
@@ -564,3 +564,50 @@ tests:
name : expected/saga/zonal_grid_stats.dbf
type : vector
- algorithm : saga:resampling
name : Resample down
params :
INPUT :
name : dem.tif
type : raster
KEEP_TYPE : true
SCALE_DOWN : 3
SCALE_UP : 5
TARGET_USER_FITS : 0
TARGET_USER_SIZE : 0.0005
results :
OUTPUT :
hash : 1b3a17a724c489ea2eea60b39bc1b9c79778832bd41e982a4e9fb09f
type : rasterhash
- algorithm : saga:resampling
name : Resample up
params :
INPUT :
name : dem.tif
type : raster
KEEP_TYPE : true
SCALE_DOWN : 3
SCALE_UP : 5
TARGET_USER_FITS : 0
TARGET_USER_SIZE : 5.0e-05
results :
OUTPUT :
hash : 32008adf7520fee2848d689fcb53d0f8ac862bcd162575b03fefc7f1
type : rasterhash
- algorithm : saga:resamplingfilter
name : Resampling filter
params :
GRID :
name : dem.tif
type : raster
SCALE : 10.0
results :
HIPASS :
hash : cf992e69d506924bb59a5fbabd86617e263cb951a61c1b3c0b10012b
type : rasterhash
LOPASS :
hash : f36069a8ceb7ffe839a34f66b82eebacb80143e9df4ed54485bf8293
type : rasterhash
Toggle all file notes