Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[Processing] Add SAGA LTR support in 2.18
- Loading branch information
Showing
250 changed files
with
2,299 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
""" | ||
*************************************************************************** | ||
SagaAlgorithm230.py | ||
--------------------- | ||
Date : March 2017 | ||
Copyright : (C) 2017 by Victor Olaya | ||
Email : volayaf at gmail dot com | ||
*************************************************************************** | ||
* * | ||
* This program is free software; you can redistribute it and/or modify * | ||
* it under the terms of the GNU General Public License as published by * | ||
* the Free Software Foundation; either version 2 of the License, or * | ||
* (at your option) any later version. * | ||
* * | ||
*************************************************************************** | ||
""" | ||
|
||
__author__ = 'Victor Olaya' | ||
__date__ = 'March 2017' | ||
__copyright__ = '(C) 2017, Victor Olaya' | ||
|
||
# This will get replaced with a git SHA1 when you do a git archive | ||
|
||
__revision__ = '$Format:%H$' | ||
|
||
import os | ||
from SagaAlgorithm214 import SagaAlgorithm214 | ||
from processing.tools import dataobjects | ||
from processing.tools.system import getTempFilenameInTempFolder | ||
|
||
sessionExportedLayers = {} | ||
|
||
|
||
class SagaAlgorithm230(SagaAlgorithm214): | ||
|
||
def getCopy(self): | ||
newone = SagaAlgorithm230(self.descriptionFile) | ||
newone.provider = self.provider | ||
return newone | ||
|
||
def exportRasterLayer(self, source): | ||
global sessionExportedLayers | ||
if source in sessionExportedLayers: | ||
exportedLayer = sessionExportedLayers[source] | ||
if os.path.exists(exportedLayer): | ||
self.exportedLayers[source] = exportedLayer | ||
return None | ||
else: | ||
del sessionExportedLayers[source] | ||
layer = dataobjects.getObjectFromUri(source, False) | ||
if layer: | ||
filename = layer.name() | ||
else: | ||
filename = os.path.basename(source) | ||
validChars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789:' | ||
filename = ''.join(c for c in filename if c in validChars) | ||
if len(filename) == 0: | ||
filename = 'layer' | ||
destFilename = getTempFilenameInTempFolder(filename + '.sgrd') | ||
self.exportedLayers[source] = destFilename | ||
sessionExportedLayers[source] = destFilename | ||
return 'io_gdal 0 -TRANSFORM 1 -RESAMPLING 0 -GRIDS "' + destFilename + '" -FILES "' + source + '"' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
python/plugins/processing/algs/saga/description/2.3.0/AccumulatedCost(Anisotropic).txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Accumulated Cost (Anisotropic) | ||
grid_analysis | ||
ParameterRaster|COST|Cost Grid|False | ||
ParameterRaster|DIRECTION|Direction of max cost|False | ||
ParameterRaster|POINTS|Destination Points|False | ||
ParameterNumber|K|k factor|None|None|1 | ||
ParameterNumber|THRESHOLD|Threshold for different route|None|None|0 | ||
OutputRaster|ACCCOST|Accumulated Cost |
7 changes: 7 additions & 0 deletions
7
python/plugins/processing/algs/saga/description/2.3.0/AccumulatedCost(Isotropic).txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Accumulated Cost (Isotropic) | ||
grid_analysis | ||
ParameterRaster|COST|Cost Grid|False | ||
ParameterRaster|POINTS|Destination Points|False | ||
ParameterNumber|THRESHOLD|Threshold for different route|None|None|0.0 | ||
OutputRaster|ACCCOST|Accumulated Cost | ||
OutputRaster|CLOSESTPT|Closest Point |
4 changes: 4 additions & 0 deletions
4
python/plugins/processing/algs/saga/description/2.3.0/AddCoordinatestopoints.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Add Coordinates to points | ||
shapes_points | ||
ParameterVector|INPUT|Points|0|False | ||
OutputVector|OUTPUT|Points with coordinates |
7 changes: 7 additions & 0 deletions
7
python/plugins/processing/algs/saga/description/2.3.0/AddGridValuestoPoints.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Add Grid Values to Points | ||
shapes_grid | ||
ParameterVector|SHAPES|Points|0|False | ||
ParameterMultipleInput|GRIDS|Grids|3|False | ||
ParameterSelection|INTERPOL|Interpolation|[0] Nearest Neighbor;[1] Bilinear Interpolation;[2] Inverse Distance Interpolation;[3] Bicubic Spline Interpolation;[4] B-Spline Interpolation | ||
OutputVector|RESULT|Result | ||
AllowUnmatching |
7 changes: 7 additions & 0 deletions
7
python/plugins/processing/algs/saga/description/2.3.0/AddGridValuestoShapes.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Add Grid Values to Shapes | ||
shapes_grid | ||
ParameterVector|SHAPES|Shapes|-1|False | ||
ParameterMultipleInput|GRIDS|Grids|3|False | ||
ParameterSelection|INTERPOL|Interpolation|[0] Nearest Neighbor;[1] Bilinear Interpolation;[2] Inverse Distance Interpolation;[3] Bicubic Spline Interpolation;[4] B-Spline Interpolation | ||
OutputVector|RESULT|Result | ||
AllowUnmatching |
7 changes: 7 additions & 0 deletions
7
python/plugins/processing/algs/saga/description/2.3.0/AddPointAttributestoPolygons.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Add Point Attributes to Polygons | ||
shapes_polygons | ||
ParameterVector|INPUT|Polygons|2|False | ||
ParameterVector|POINTS|Points|0|False | ||
ParameterTableField|FIELDS|Attributes|POINTS|-1|False | ||
ParameterBoolean|ADD_LOCATION_INFO|Add location info|False | ||
OutputVector|OUTPUT|Result |
6 changes: 6 additions & 0 deletions
6
python/plugins/processing/algs/saga/description/2.3.0/AddPolygonAttributestoPoints.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Add Polygon Attributes to Points | ||
shapes_points | ||
ParameterVector|INPUT|Points|0|False | ||
ParameterVector|POLYGONS|Polygons|2|False | ||
ParameterTableField|FIELDS|Attribute|POLYGONS|-1|False | ||
OutputVector|OUTPUT|Result |
5 changes: 5 additions & 0 deletions
5
python/plugins/processing/algs/saga/description/2.3.0/Aggregate.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Aggregate | ||
grid_tools | ||
ParameterRaster|INPUT|Grid|False | ||
ParameterNumber|SIZE|Aggregation Size|None|None|3 | ||
ParameterSelection|METHOD|Method|[0] Sum;[1] Min;[2] Max |
14 changes: 14 additions & 0 deletions
14
python/plugins/processing/algs/saga/description/2.3.0/AggregatePointObservations.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Aggregate Point Observations | ||
shapes_points | ||
ParameterVector|REFERENCE|Reference Points|-1|False | ||
ParameterTableField|REFERENCE_ID|ID|REFERENCE|-1|False | ||
ParameterTable|OBSERVATIONS|Observations|False | ||
ParameterTableField|X|X|OBSERVATIONS|-1|False | ||
ParameterTableField|Y|Y|OBSERVATIONS|-1|False | ||
ParameterTableField|TRACK|Track|OBSERVATIONS|-1|False | ||
ParameterTableField|DATE|Date|OBSERVATIONS|-1|False | ||
ParameterTableField|TIME|Time|OBSERVATIONS|-1|False | ||
ParameterTableField|PARAMETER|Parameter|OBSERVATIONS|-1|False | ||
ParameterNumber|EPS_TIME|Maximum Time Span (Seconds)|None|None|60.0 | ||
ParameterNumber|EPS_SPACE|Maximum Distance|None|None|0.002 | ||
OutputTable|AGGREGATED|Aggregated |
5 changes: 5 additions & 0 deletions
5
python/plugins/processing/algs/saga/description/2.3.0/AggregationIndex.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Aggregation Index | ||
grid_analysis | ||
ParameterRaster|INPUT|Input Grid|False | ||
ParameterNumber|MAXNUMCLASS|Max. Number of Classes|None|None|5 | ||
OutputTable|RESULT|Result |
5 changes: 5 additions & 0 deletions
5
python/plugins/processing/algs/saga/description/2.3.0/AnalyticalHierarchyProcess.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Analytical Hierarchy Process | ||
grid_analysis | ||
ParameterMultipleInput|GRIDS|Input Grids|3|False | ||
ParameterTable|TABLE|Pairwise Comparisons Table|False | ||
OutputRaster|OUTPUT|Output Grid |
8 changes: 8 additions & 0 deletions
8
python/plugins/processing/algs/saga/description/2.3.0/AnalyticalHillshading.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Analytical Hillshading | ||
ta_lighting | ||
ParameterRaster|ELEVATION|Elevation|False | ||
ParameterSelection|METHOD|Shading Method|[0] Standard;[1] Standard (max. 90Degree);[2] Combined Shading;[3] Ray Tracing | ||
ParameterNumber|AZIMUTH|Azimuth [Degree]|None|None|315.0 | ||
ParameterNumber|DECLINATION|Declination [Degree]|None|None|45.0 | ||
ParameterNumber|EXAGGERATION|Exaggeration|None|None|4.0 | ||
OutputRaster|SHADE|Analytical Hillshading |
10 changes: 10 additions & 0 deletions
10
python/plugins/processing/algs/saga/description/2.3.0/B-SplineApproximation.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
B-Spline Approximation | ||
grid_spline | ||
ParameterVector|SHAPES|Points|0|False | ||
ParameterTableField|FIELD|Attribute|SHAPES|-1|False | ||
Hardcoded|-TARGET_DEFINITION 0 | ||
ParameterNumber|LEVEL|Resolution|0.001|None|1.0 | ||
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX | ||
ParameterNumber|TARGET_USER_SIZE|Cellsize|None|None|100.0 | ||
ParameterSelection|TARGET_USER_FITS|Fit|[0] nodes;[1] cells | ||
OutputRaster|TARGET_OUT_GRID|Grid |
8 changes: 8 additions & 0 deletions
8
python/plugins/processing/algs/saga/description/2.3.0/BurnStreamNetworkintoDEM.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Burn Stream Network into DEM | ||
ta_preprocessor | ||
ParameterRaster|DEM|DEM|False | ||
ParameterRaster|STREAM|Streams|False | ||
ParameterRaster|FLOWDIR|Flow direction|False | ||
ParameterSelection|METHOD|Method|[0] simply decrease cell's value by epsilon;[1] lower cell's value to neighbours minimum value minus epsilon;[2] trace stream network downstream | ||
ParameterNumber|EPSILON|Epsilon|0.0|None|1.0 | ||
OutputRaster|BURN|Processed DEM |
7 changes: 7 additions & 0 deletions
7
python/plugins/processing/algs/saga/description/2.3.0/CellBalance.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Cell Balance | ||
ta_hydrology | ||
ParameterRaster|DEM|Elevation|False | ||
ParameterRaster|WEIGHTS|Parameter|True | ||
ParameterNumber|WEIGHTS_DEFAULT|Default Weight|0.0|None|1.0 | ||
ParameterSelection|METHOD|Method|[0] Deterministic 8;[1] Multiple Flow Direction | ||
OutputRaster|BALANCE|Cell Balance |
7 changes: 7 additions & 0 deletions
7
python/plugins/processing/algs/saga/description/2.3.0/ChangeDateFormat.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Change Date Format | ||
table_tools | ||
ParameterTable|TABLE|Table|False | ||
ParameterTableField|FIELD|Date Field|TABLE|-1|False | ||
ParameterSelection|FMT_IN|Input Format|[0] dd.mm.yy;[1] yy.mm.dd;[2] dd:mm:yy;[3] yy:mm:dd;[4] ddmmyyyy, fix size;[5] yyyymmdd, fix size;[6] ddmmyy, fix size;[7] yymmdd, fix size;[8] Julian Day | ||
ParameterSelection|FMT_OUT|Output Format|[0] dd.mm.yy;[1] yy.mm.dd;[2] dd:mm:yy;[3] yy:mm:dd;[4] ddmmyyyy, fix size;[5] yyyymmdd, fix size;[6] ddmmyy, fix size;[7] yymmdd, fix size;[8] Julian Day | ||
OutputTable|OUTPUT|Output |
16 changes: 16 additions & 0 deletions
16
python/plugins/processing/algs/saga/description/2.3.0/ChangeDetection.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Change Detection | ||
imagery_classification | ||
ParameterRaster|INITIAL|Initial State|False | ||
ParameterTable|INI_LUT|Look-up Table|True | ||
ParameterTableField|INI_LUT_MIN|Value|INI_LUT|-1|False | ||
ParameterTableField|INI_LUT_MAX|Value (Maximum)|INI_LUT|-1|False | ||
ParameterTableField|INI_LUT_NAM|Name|INI_LUT|-1|False | ||
ParameterRaster|FINAL|Final State|False | ||
ParameterTable|FIN_LUT|Look-up Table|True | ||
ParameterTableField|FIN_LUT_MIN|Value|FIN_LUT|-1|False | ||
ParameterTableField|FIN_LUT_MAX|Value (Maximum)|FIN_LUT|-1|False | ||
ParameterTableField|FIN_LUT_NAM|Name|FIN_LUT|-1|False | ||
ParameterBoolean|NOCHANGE |Report Unchanged Classes|True | ||
ParameterSelection|OUTPUT|Output as...|[0] cells;[1] percent;[2] area | ||
OutputRaster|CHANGE|Changes | ||
OutputTable|CHANGES|Changes |
6 changes: 6 additions & 0 deletions
6
python/plugins/processing/algs/saga/description/2.3.0/ChangeGridValues.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Change Grid Values | ||
grid_tools | ||
ParameterRaster|GRID_IN|Grid|False | ||
ParameterSelection|METHOD|Replace Condition|[0] Grid value equals low value;[1] Low value < grid value < high value;[2] Low value <= grid value < high value | ||
ParameterFixedTable|LOOKUP|Lookup Table|3|Low Value;High Value;Replace with|False | ||
OutputRaster|GRID_OUT|Changed Grid |
7 changes: 7 additions & 0 deletions
7
python/plugins/processing/algs/saga/description/2.3.0/ChangeTimeFormat.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Change Time Format | ||
table_tools | ||
ParameterTable|TABLE|Table|False | ||
ParameterTableField|FIELD|Time Field|TABLE|-1|False | ||
ParameterSelection|FMT_IN|Input Format|[0] hh.mm.ss;[1] hh:mm:ss;[2] hhmmss, fix size;[3] hours;[4] minutes;[5] seconds | ||
ParameterSelection|FMT_OUT|Output Format|[0] hh.mm.ss;[1] hh:mm:ss;[2] hhmmss, fix size;[3] hours;[4] minutes;[5] seconds | ||
OutputTable|OUTPUT|Output |
14 changes: 14 additions & 0 deletions
14
python/plugins/processing/algs/saga/description/2.3.0/ChannelNetwork.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Channel Network | ||
ta_channels | ||
ParameterRaster|ELEVATION|Elevation|False | ||
ParameterRaster|SINKROUTE|Flow Direction|True | ||
ParameterRaster|INIT_GRID|Initiation Grid|False | ||
ParameterSelection|INIT_METHOD|Initiation Type|[0] Less than;[1] Equals;[2] Greater than | ||
ParameterNumber|INIT_VALUE|Initiation Threshold|None|None|0.0 | ||
ParameterRaster|DIV_GRID|Divergence|True | ||
ParameterNumber|DIV_CELLS|Tracing: Max. Divergence|None|None|10 | ||
ParameterRaster|TRACE_WEIGHT|Tracing: Weight|True | ||
ParameterNumber|MINLEN|Min. Segment Length|0.0|None|10 | ||
OutputRaster|CHNLNTWRK|Channel Network | ||
OutputRaster|CHNLROUTE|Channel Direction | ||
OutputVector|SHAPES|Channel Network |
11 changes: 11 additions & 0 deletions
11
python/plugins/processing/algs/saga/description/2.3.0/ChannelNetworkandDrainageBasins.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Channel Network and Drainage Basins | ||
ta_channels | ||
ParameterRaster|DEM|Elevation|False | ||
ParameterNumber|THRESHOLD|Threshold|None|None|5.0 | ||
OutputRaster|DIRECTION|Flow Direction | ||
OutputRaster|CONNECTION|Flow Connectivity | ||
OutputRaster|ORDER|Strahler Order | ||
OutputRaster|BASIN|Drainage Basins | ||
OutputVector|SEGMENTS|Channels | ||
OutputVector|BASINS|Drainage Basins | ||
OutputVector|NODES|Junctions |
5 changes: 5 additions & 0 deletions
5
python/plugins/processing/algs/saga/description/2.3.0/ClipGridwithPolygon.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Clip Grid with Polygon | ||
shapes_grid | ||
ParameterRaster|INPUT|Input|False | ||
ParameterVector|POLYGONS|Polygons|2|False | ||
OutputRaster|OUTPUT|Clipped |
7 changes: 7 additions & 0 deletions
7
python/plugins/processing/algs/saga/description/2.3.0/ClipPointswithPolygons.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Clip Points with Polygons | ||
shapes_points | ||
ParameterVector|POINTS|Points|0|False | ||
ParameterVector|POLYGONS|Polygons|2|False | ||
ParameterTableField|FIELD|Add Attribute to Clipped Points|POLYGONS|-1|False | ||
ParameterSelection|METHOD|Clipping Options|[0] one layer for all points;[1] separate layer for each polygon | ||
OutputVector|CLIPS|Clipped Points |
6 changes: 6 additions & 0 deletions
6
python/plugins/processing/algs/saga/description/2.3.0/CloseGaps.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Close Gaps | ||
grid_tools | ||
ParameterRaster|INPUT|Grid|False | ||
ParameterRaster|MASK|Mask|True | ||
ParameterNumber|THRESHOLD|Tension Threshold|None|None|0.1 | ||
OutputRaster|RESULT|Changed Grid |
12 changes: 12 additions & 0 deletions
12
python/plugins/processing/algs/saga/description/2.3.0/CloseGapswithSpline.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Close Gaps with Spline | ||
grid_tools | ||
ParameterRaster|GRID|Grid|False | ||
ParameterRaster|MASK|Mask|True | ||
ParameterNumber|MAXGAPCELLS|Only Process Gaps with Less Cells|None|None|0 | ||
ParameterNumber|MAXPOINTS|Maximum Points|None|None|1000 | ||
ParameterNumber|LOCALPOINTS|Number of Points for Local Interpolation|None|None|10 | ||
ParameterBoolean|EXTENDED |Extended Neighourhood|True | ||
ParameterSelection|NEIGHBOURS|Neighbourhood|[0] Neumann;[1] Moore | ||
ParameterNumber|RADIUS|Radius (Cells)|None|None|0 | ||
ParameterNumber|RELAXATION|Relaxation|None|None|0.0 | ||
OutputRaster|CLOSED|Closed Gaps Grid |
4 changes: 4 additions & 0 deletions
4
python/plugins/processing/algs/saga/description/2.3.0/CloseOneCellGaps.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Close One Cell Gaps | ||
grid_tools | ||
ParameterRaster|INPUT|Grid|False | ||
OutputRaster|RESULT|Changed Grid |
9 changes: 9 additions & 0 deletions
9
python/plugins/processing/algs/saga/description/2.3.0/ClusterAnalysisforGrids.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Cluster Analysis for Grids | ||
imagery_classification | ||
ParameterMultipleInput|GRIDS|Grids|3.0|False | ||
ParameterSelection|METHOD|Method|[0] Iterative Minimum Distance (Forgy 1965);[1] Hill-Climbing (Rubin 1967);[2] Combined Minimum Distance / Hillclimbing | ||
ParameterNumber|NCLUSTER|Clusters|None|None|5 | ||
ParameterBoolean|NORMALISE |Normalise|True | ||
ParameterBoolean|OLDVERSION |Old Version|True | ||
OutputRaster|CLUSTER|Clusters | ||
OutputTable|STATISTICS|Statistics |
12 changes: 12 additions & 0 deletions
12
python/plugins/processing/algs/saga/description/2.3.0/ConfusionMatrix(GridPolygons).txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Confusion Matrix (Polygons / Grid) | ||
imagery_classification | ||
ParameterRaster|GRID|Classification|False | ||
ParameterTable|GRID_LUT|Look-up Table|True | ||
ParameterTableField|GRID_LUT_MIN|Value|GRID_LUT|-1|True | ||
ParameterTableField|GRID_LUT_MAX|Value (Maximum)|GRID_LUT|-1|True | ||
ParameterTableField|GRID_LUT_NAM|Name|GRID_LUT|-1|True | ||
ParameterVector|POLYGONS|Polygons|2|False | ||
ParameterTableField|FIELD|Classes|POLYGONS|-1|False | ||
OutputTable|CONFUSION|Confusion Matrix | ||
OutputTable|CLASSES|Class Values | ||
OutputTable|SUMMARY|Summary |
8 changes: 8 additions & 0 deletions
8
python/plugins/processing/algs/saga/description/2.3.0/ContourLinesfromGrid.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Contour Lines from Grid | ||
shapes_grid | ||
ParameterRaster|GRID|Grid|False | ||
ParameterSelection|VERTEX|Vertex type|[0] x,y;[1] x,y,z | ||
ParameterNumber|ZMIN|Minimum Contour Value|None|None|0.0 | ||
ParameterNumber|ZMAX|Maximum Contour Value|None|None|10000.0 | ||
ParameterNumber|ZSTEP|Equidistance|None|None|100.0 | ||
OutputVector|CONTOUR|Contour Lines |
11 changes: 11 additions & 0 deletions
11
python/plugins/processing/algs/saga/description/2.3.0/ConvergenceIndex(SearchRadius).txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Convergence Index (Search Radius) | ||
ta_morphometry | ||
ParameterRaster|ELEVATION|Elevation|False | ||
ParameterNumber|RADIUS|Radius [Cells]|1.0|None|10.0 | ||
ParameterSelection|DISTANCE_WEIGHTING_DW_WEIGHTING|Weighting Function|[0] no distance weighting;[1] inverse distance to a power;[2] exponential;[3] gaussian weighting | ||
ParameterNumber|DISTANCE_WEIGHTING_DW_IDW_POWER|Inverse Distance Weighting Power|0.0|None|1.0 | ||
ParameterBoolean|DISTANCE_WEIGHTING_DW_IDW_OFFSET|Inverse Distance Offset|True | ||
ParameterNumber|DISTANCE_WEIGHTING_DW_BANDWIDTH|Gaussian and Exponential Weighting Bandwidth|0.0|None|1.0 | ||
ParameterBoolean|SLOPE|Gradient|True | ||
ParameterSelection|DIFFERENCE|Weighting Function|[0] direction to the center cell;[1] center cell's aspect direction | ||
OutputRaster|CONVERGENCE|Convergence Index |
6 changes: 6 additions & 0 deletions
6
python/plugins/processing/algs/saga/description/2.3.0/ConvergenceIndex.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Convergence Index | ||
ta_morphometry | ||
ParameterRaster|ELEVATION|Elevation|False | ||
ParameterSelection|METHOD|Method|[0] Aspect;[1] Gradient | ||
ParameterSelection|NEIGHBOURS|Gradient Calculation|[0] 2 x 2;[1] 3 x 3 | ||
OutputRaster|RESULT|Convergence Index |
5 changes: 5 additions & 0 deletions
5
python/plugins/processing/algs/saga/description/2.3.0/ConvertDataStorageType.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Convert Data Storage Type | ||
grid_tools | ||
ParameterRaster|INPUT|Grid|False | ||
ParameterSelection|TYPE|Data storage type|[0] bit;[1] unsigned 1 byte integer;[2] signed 1 byte integer;[3] unsigned 2 byte integer;[4] signed 2 byte integer;[5] unsigned 4 byte integer;[6] signed 4 byte integer;[7] 4 byte floating point number;[8] 8 byte floating point number | ||
OutputRaster|OUTPUT|Converted Grid |
6 changes: 6 additions & 0 deletions
6
python/plugins/processing/algs/saga/description/2.3.0/ConvertLinestoPoints.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Convert Lines to Points | ||
shapes_points | ||
ParameterVector|LINES|Lines|1|False | ||
ParameterBoolean|ADD |Insert Additional Points|True | ||
ParameterNumber|DIST|Insert Distance|0.0|None|1.0 | ||
OutputVector|POINTS|Points |
Oops, something went wrong.