Skip to content

Commit b1ae883

Browse files
committed
[Processing] Add SAGA LTR support in 2.14
1 parent 58bd0e1 commit b1ae883

File tree

250 files changed

+2299
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

250 files changed

+2299
-1
lines changed

python/plugins/processing/algs/saga/CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ FILE(GLOB DESCR214_FILES description/2.1.4/*.txt)
55
FILE(GLOB DESCR220_FILES description/2.2.0/*.txt)
66
FILE(GLOB DESCR222_FILES description/2.2.2/*.txt)
77
FILE(GLOB DESCR223_FILES description/2.2.3/*.txt)
8+
FILE(GLOB DESCR230_FILES description/2.3.0/*.txt)
89
FILE(GLOB HELP_FILES help/*.rst)
910

1011
ADD_SUBDIRECTORY(ext)
@@ -16,4 +17,5 @@ PLUGIN_INSTALL(processing algs/saga/description/2.1.4 ${DESCR214_FILES})
1617
PLUGIN_INSTALL(processing algs/saga/description/2.2.0 ${DESCR220_FILES})
1718
PLUGIN_INSTALL(processing algs/saga/description/2.2.2 ${DESCR222_FILES})
1819
PLUGIN_INSTALL(processing algs/saga/description/2.2.3 ${DESCR223_FILES})
20+
PLUGIN_INSTALL(processing algs/saga/description/2.3.0 ${DESCR230_FILES})
1921
PLUGIN_INSTALL(processing algs/saga/help ${HELP_FILES})
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# -*- coding: utf-8 -*-
2+
3+
"""
4+
***************************************************************************
5+
SagaAlgorithm230.py
6+
---------------------
7+
Date : March 2017
8+
Copyright : (C) 2017 by Victor Olaya
9+
Email : volayaf at gmail dot com
10+
***************************************************************************
11+
* *
12+
* This program is free software; you can redistribute it and/or modify *
13+
* it under the terms of the GNU General Public License as published by *
14+
* the Free Software Foundation; either version 2 of the License, or *
15+
* (at your option) any later version. *
16+
* *
17+
***************************************************************************
18+
"""
19+
20+
__author__ = 'Victor Olaya'
21+
__date__ = 'March 2017'
22+
__copyright__ = '(C) 2017, Victor Olaya'
23+
24+
# This will get replaced with a git SHA1 when you do a git archive
25+
26+
__revision__ = '$Format:%H$'
27+
28+
import os
29+
from SagaAlgorithm214 import SagaAlgorithm214
30+
from processing.tools import dataobjects
31+
from processing.tools.system import getTempFilenameInTempFolder
32+
33+
sessionExportedLayers = {}
34+
35+
36+
class SagaAlgorithm230(SagaAlgorithm214):
37+
38+
def getCopy(self):
39+
newone = SagaAlgorithm230(self.descriptionFile)
40+
newone.provider = self.provider
41+
return newone
42+
43+
def exportRasterLayer(self, source):
44+
global sessionExportedLayers
45+
if source in sessionExportedLayers:
46+
exportedLayer = sessionExportedLayers[source]
47+
if os.path.exists(exportedLayer):
48+
self.exportedLayers[source] = exportedLayer
49+
return None
50+
else:
51+
del sessionExportedLayers[source]
52+
layer = dataobjects.getObjectFromUri(source, False)
53+
if layer:
54+
filename = layer.name()
55+
else:
56+
filename = os.path.basename(source)
57+
validChars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789:'
58+
filename = ''.join(c for c in filename if c in validChars)
59+
if len(filename) == 0:
60+
filename = 'layer'
61+
destFilename = getTempFilenameInTempFolder(filename + '.sgrd')
62+
self.exportedLayers[source] = destFilename
63+
sessionExportedLayers[source] = destFilename
64+
return 'io_gdal 0 -TRANSFORM 1 -RESAMPLING 0 -GRIDS "' + destFilename + '" -FILES "' + source + '"'

python/plugins/processing/algs/saga/SagaAlgorithmProvider.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
from SagaAlgorithm212 import SagaAlgorithm212
3434
from SagaAlgorithm213 import SagaAlgorithm213
3535
from SagaAlgorithm214 import SagaAlgorithm214
36+
from SagaAlgorithm230 import SagaAlgorithm230
3637
from SplitRGBBands import SplitRGBBands
3738
import SagaUtils
3839
from processing.tools.system import isWindows, isMac
@@ -50,7 +51,9 @@ class SagaAlgorithmProvider(AlgorithmProvider):
5051
"2.2.0": ("2.2.0", SagaAlgorithm214),
5152
"2.2.1": ("2.2.0", SagaAlgorithm214),
5253
"2.2.2": ("2.2.2", SagaAlgorithm214),
53-
"2.2.3": ("2.2.3", SagaAlgorithm214)}
54+
"2.2.3": ("2.2.3", SagaAlgorithm214),
55+
"2.3.0": ("2.3.0", SagaAlgorithm230),
56+
"2.3.1": ("2.3.1", SagaAlgorithm230)}
5457

5558
def __init__(self):
5659
AlgorithmProvider.__init__(self)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Accumulated Cost (Anisotropic)
2+
grid_analysis
3+
ParameterRaster|COST|Cost Grid|False
4+
ParameterRaster|DIRECTION|Direction of max cost|False
5+
ParameterRaster|POINTS|Destination Points|False
6+
ParameterNumber|K|k factor|None|None|1
7+
ParameterNumber|THRESHOLD|Threshold for different route|None|None|0
8+
OutputRaster|ACCCOST|Accumulated Cost
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Accumulated Cost (Isotropic)
2+
grid_analysis
3+
ParameterRaster|COST|Cost Grid|False
4+
ParameterRaster|POINTS|Destination Points|False
5+
ParameterNumber|THRESHOLD|Threshold for different route|None|None|0.0
6+
OutputRaster|ACCCOST|Accumulated Cost
7+
OutputRaster|CLOSESTPT|Closest Point
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Add Coordinates to points
2+
shapes_points
3+
ParameterVector|INPUT|Points|0|False
4+
OutputVector|OUTPUT|Points with coordinates
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Add Grid Values to Points
2+
shapes_grid
3+
ParameterVector|SHAPES|Points|0|False
4+
ParameterMultipleInput|GRIDS|Grids|3|False
5+
ParameterSelection|INTERPOL|Interpolation|[0] Nearest Neighbor;[1] Bilinear Interpolation;[2] Inverse Distance Interpolation;[3] Bicubic Spline Interpolation;[4] B-Spline Interpolation
6+
OutputVector|RESULT|Result
7+
AllowUnmatching
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Add Grid Values to Shapes
2+
shapes_grid
3+
ParameterVector|SHAPES|Shapes|-1|False
4+
ParameterMultipleInput|GRIDS|Grids|3|False
5+
ParameterSelection|INTERPOL|Interpolation|[0] Nearest Neighbor;[1] Bilinear Interpolation;[2] Inverse Distance Interpolation;[3] Bicubic Spline Interpolation;[4] B-Spline Interpolation
6+
OutputVector|RESULT|Result
7+
AllowUnmatching
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Add Point Attributes to Polygons
2+
shapes_polygons
3+
ParameterVector|INPUT|Polygons|2|False
4+
ParameterVector|POINTS|Points|0|False
5+
ParameterTableField|FIELDS|Attributes|POINTS|-1|False
6+
ParameterBoolean|ADD_LOCATION_INFO|Add location info|False
7+
OutputVector|OUTPUT|Result
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Add Polygon Attributes to Points
2+
shapes_points
3+
ParameterVector|INPUT|Points|0|False
4+
ParameterVector|POLYGONS|Polygons|2|False
5+
ParameterTableField|FIELDS|Attribute|POLYGONS|-1|False
6+
OutputVector|OUTPUT|Result
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Aggregate
2+
grid_tools
3+
ParameterRaster|INPUT|Grid|False
4+
ParameterNumber|SIZE|Aggregation Size|None|None|3
5+
ParameterSelection|METHOD|Method|[0] Sum;[1] Min;[2] Max
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Aggregate Point Observations
2+
shapes_points
3+
ParameterVector|REFERENCE|Reference Points|-1|False
4+
ParameterTableField|REFERENCE_ID|ID|REFERENCE|-1|False
5+
ParameterTable|OBSERVATIONS|Observations|False
6+
ParameterTableField|X|X|OBSERVATIONS|-1|False
7+
ParameterTableField|Y|Y|OBSERVATIONS|-1|False
8+
ParameterTableField|TRACK|Track|OBSERVATIONS|-1|False
9+
ParameterTableField|DATE|Date|OBSERVATIONS|-1|False
10+
ParameterTableField|TIME|Time|OBSERVATIONS|-1|False
11+
ParameterTableField|PARAMETER|Parameter|OBSERVATIONS|-1|False
12+
ParameterNumber|EPS_TIME|Maximum Time Span (Seconds)|None|None|60.0
13+
ParameterNumber|EPS_SPACE|Maximum Distance|None|None|0.002
14+
OutputTable|AGGREGATED|Aggregated
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Aggregation Index
2+
grid_analysis
3+
ParameterRaster|INPUT|Input Grid|False
4+
ParameterNumber|MAXNUMCLASS|Max. Number of Classes|None|None|5
5+
OutputTable|RESULT|Result
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Analytical Hierarchy Process
2+
grid_analysis
3+
ParameterMultipleInput|GRIDS|Input Grids|3|False
4+
ParameterTable|TABLE|Pairwise Comparisons Table|False
5+
OutputRaster|OUTPUT|Output Grid
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Analytical Hillshading
2+
ta_lighting
3+
ParameterRaster|ELEVATION|Elevation|False
4+
ParameterSelection|METHOD|Shading Method|[0] Standard;[1] Standard (max. 90Degree);[2] Combined Shading;[3] Ray Tracing
5+
ParameterNumber|AZIMUTH|Azimuth [Degree]|None|None|315.0
6+
ParameterNumber|DECLINATION|Declination [Degree]|None|None|45.0
7+
ParameterNumber|EXAGGERATION|Exaggeration|None|None|4.0
8+
OutputRaster|SHADE|Analytical Hillshading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
B-Spline Approximation
2+
grid_spline
3+
ParameterVector|SHAPES|Points|0|False
4+
ParameterTableField|FIELD|Attribute|SHAPES|-1|False
5+
Hardcoded|-TARGET_DEFINITION 0
6+
ParameterNumber|LEVEL|Resolution|0.001|None|1.0
7+
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
8+
ParameterNumber|TARGET_USER_SIZE|Cellsize|None|None|100.0
9+
ParameterSelection|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
10+
OutputRaster|TARGET_OUT_GRID|Grid
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Burn Stream Network into DEM
2+
ta_preprocessor
3+
ParameterRaster|DEM|DEM|False
4+
ParameterRaster|STREAM|Streams|False
5+
ParameterRaster|FLOWDIR|Flow direction|False
6+
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
7+
ParameterNumber|EPSILON|Epsilon|0.0|None|1.0
8+
OutputRaster|BURN|Processed DEM
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Cell Balance
2+
ta_hydrology
3+
ParameterRaster|DEM|Elevation|False
4+
ParameterRaster|WEIGHTS|Parameter|True
5+
ParameterNumber|WEIGHTS_DEFAULT|Default Weight|0.0|None|1.0
6+
ParameterSelection|METHOD|Method|[0] Deterministic 8;[1] Multiple Flow Direction
7+
OutputRaster|BALANCE|Cell Balance
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Change Date Format
2+
table_tools
3+
ParameterTable|TABLE|Table|False
4+
ParameterTableField|FIELD|Date Field|TABLE|-1|False
5+
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
6+
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
7+
OutputTable|OUTPUT|Output
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Change Detection
2+
imagery_classification
3+
ParameterRaster|INITIAL|Initial State|False
4+
ParameterTable|INI_LUT|Look-up Table|True
5+
ParameterTableField|INI_LUT_MIN|Value|INI_LUT|-1|False
6+
ParameterTableField|INI_LUT_MAX|Value (Maximum)|INI_LUT|-1|False
7+
ParameterTableField|INI_LUT_NAM|Name|INI_LUT|-1|False
8+
ParameterRaster|FINAL|Final State|False
9+
ParameterTable|FIN_LUT|Look-up Table|True
10+
ParameterTableField|FIN_LUT_MIN|Value|FIN_LUT|-1|False
11+
ParameterTableField|FIN_LUT_MAX|Value (Maximum)|FIN_LUT|-1|False
12+
ParameterTableField|FIN_LUT_NAM|Name|FIN_LUT|-1|False
13+
ParameterBoolean|NOCHANGE |Report Unchanged Classes|True
14+
ParameterSelection|OUTPUT|Output as...|[0] cells;[1] percent;[2] area
15+
OutputRaster|CHANGE|Changes
16+
OutputTable|CHANGES|Changes
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Change Grid Values
2+
grid_tools
3+
ParameterRaster|GRID_IN|Grid|False
4+
ParameterSelection|METHOD|Replace Condition|[0] Grid value equals low value;[1] Low value < grid value < high value;[2] Low value <= grid value < high value
5+
ParameterFixedTable|LOOKUP|Lookup Table|3|Low Value;High Value;Replace with|False
6+
OutputRaster|GRID_OUT|Changed Grid
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Change Time Format
2+
table_tools
3+
ParameterTable|TABLE|Table|False
4+
ParameterTableField|FIELD|Time Field|TABLE|-1|False
5+
ParameterSelection|FMT_IN|Input Format|[0] hh.mm.ss;[1] hh:mm:ss;[2] hhmmss, fix size;[3] hours;[4] minutes;[5] seconds
6+
ParameterSelection|FMT_OUT|Output Format|[0] hh.mm.ss;[1] hh:mm:ss;[2] hhmmss, fix size;[3] hours;[4] minutes;[5] seconds
7+
OutputTable|OUTPUT|Output
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Channel Network
2+
ta_channels
3+
ParameterRaster|ELEVATION|Elevation|False
4+
ParameterRaster|SINKROUTE|Flow Direction|True
5+
ParameterRaster|INIT_GRID|Initiation Grid|False
6+
ParameterSelection|INIT_METHOD|Initiation Type|[0] Less than;[1] Equals;[2] Greater than
7+
ParameterNumber|INIT_VALUE|Initiation Threshold|None|None|0.0
8+
ParameterRaster|DIV_GRID|Divergence|True
9+
ParameterNumber|DIV_CELLS|Tracing: Max. Divergence|None|None|10
10+
ParameterRaster|TRACE_WEIGHT|Tracing: Weight|True
11+
ParameterNumber|MINLEN|Min. Segment Length|0.0|None|10
12+
OutputRaster|CHNLNTWRK|Channel Network
13+
OutputRaster|CHNLROUTE|Channel Direction
14+
OutputVector|SHAPES|Channel Network
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Channel Network and Drainage Basins
2+
ta_channels
3+
ParameterRaster|DEM|Elevation|False
4+
ParameterNumber|THRESHOLD|Threshold|None|None|5.0
5+
OutputRaster|DIRECTION|Flow Direction
6+
OutputRaster|CONNECTION|Flow Connectivity
7+
OutputRaster|ORDER|Strahler Order
8+
OutputRaster|BASIN|Drainage Basins
9+
OutputVector|SEGMENTS|Channels
10+
OutputVector|BASINS|Drainage Basins
11+
OutputVector|NODES|Junctions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Clip Grid with Polygon
2+
shapes_grid
3+
ParameterRaster|INPUT|Input|False
4+
ParameterVector|POLYGONS|Polygons|2|False
5+
OutputRaster|OUTPUT|Clipped
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Clip Points with Polygons
2+
shapes_points
3+
ParameterVector|POINTS|Points|0|False
4+
ParameterVector|POLYGONS|Polygons|2|False
5+
ParameterTableField|FIELD|Add Attribute to Clipped Points|POLYGONS|-1|False
6+
ParameterSelection|METHOD|Clipping Options|[0] one layer for all points;[1] separate layer for each polygon
7+
OutputVector|CLIPS|Clipped Points
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Close Gaps
2+
grid_tools
3+
ParameterRaster|INPUT|Grid|False
4+
ParameterRaster|MASK|Mask|True
5+
ParameterNumber|THRESHOLD|Tension Threshold|None|None|0.1
6+
OutputRaster|RESULT|Changed Grid
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Close Gaps with Spline
2+
grid_tools
3+
ParameterRaster|GRID|Grid|False
4+
ParameterRaster|MASK|Mask|True
5+
ParameterNumber|MAXGAPCELLS|Only Process Gaps with Less Cells|None|None|0
6+
ParameterNumber|MAXPOINTS|Maximum Points|None|None|1000
7+
ParameterNumber|LOCALPOINTS|Number of Points for Local Interpolation|None|None|10
8+
ParameterBoolean|EXTENDED |Extended Neighourhood|True
9+
ParameterSelection|NEIGHBOURS|Neighbourhood|[0] Neumann;[1] Moore
10+
ParameterNumber|RADIUS|Radius (Cells)|None|None|0
11+
ParameterNumber|RELAXATION|Relaxation|None|None|0.0
12+
OutputRaster|CLOSED|Closed Gaps Grid
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Close One Cell Gaps
2+
grid_tools
3+
ParameterRaster|INPUT|Grid|False
4+
OutputRaster|RESULT|Changed Grid
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Cluster Analysis for Grids
2+
imagery_classification
3+
ParameterMultipleInput|GRIDS|Grids|3.0|False
4+
ParameterSelection|METHOD|Method|[0] Iterative Minimum Distance (Forgy 1965);[1] Hill-Climbing (Rubin 1967);[2] Combined Minimum Distance / Hillclimbing
5+
ParameterNumber|NCLUSTER|Clusters|None|None|5
6+
ParameterBoolean|NORMALISE |Normalise|True
7+
ParameterBoolean|OLDVERSION |Old Version|True
8+
OutputRaster|CLUSTER|Clusters
9+
OutputTable|STATISTICS|Statistics
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Confusion Matrix (Polygons / Grid)
2+
imagery_classification
3+
ParameterRaster|GRID|Classification|False
4+
ParameterTable|GRID_LUT|Look-up Table|True
5+
ParameterTableField|GRID_LUT_MIN|Value|GRID_LUT|-1|True
6+
ParameterTableField|GRID_LUT_MAX|Value (Maximum)|GRID_LUT|-1|True
7+
ParameterTableField|GRID_LUT_NAM|Name|GRID_LUT|-1|True
8+
ParameterVector|POLYGONS|Polygons|2|False
9+
ParameterTableField|FIELD|Classes|POLYGONS|-1|False
10+
OutputTable|CONFUSION|Confusion Matrix
11+
OutputTable|CLASSES|Class Values
12+
OutputTable|SUMMARY|Summary
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Contour Lines from Grid
2+
shapes_grid
3+
ParameterRaster|GRID|Grid|False
4+
ParameterSelection|VERTEX|Vertex type|[0] x,y;[1] x,y,z
5+
ParameterNumber|ZMIN|Minimum Contour Value|None|None|0.0
6+
ParameterNumber|ZMAX|Maximum Contour Value|None|None|10000.0
7+
ParameterNumber|ZSTEP|Equidistance|None|None|100.0
8+
OutputVector|CONTOUR|Contour Lines
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Convergence Index (Search Radius)
2+
ta_morphometry
3+
ParameterRaster|ELEVATION|Elevation|False
4+
ParameterNumber|RADIUS|Radius [Cells]|1.0|None|10.0
5+
ParameterSelection|DISTANCE_WEIGHTING_DW_WEIGHTING|Weighting Function|[0] no distance weighting;[1] inverse distance to a power;[2] exponential;[3] gaussian weighting
6+
ParameterNumber|DISTANCE_WEIGHTING_DW_IDW_POWER|Inverse Distance Weighting Power|0.0|None|1.0
7+
ParameterBoolean|DISTANCE_WEIGHTING_DW_IDW_OFFSET|Inverse Distance Offset|True
8+
ParameterNumber|DISTANCE_WEIGHTING_DW_BANDWIDTH|Gaussian and Exponential Weighting Bandwidth|0.0|None|1.0
9+
ParameterBoolean|SLOPE|Gradient|True
10+
ParameterSelection|DIFFERENCE|Weighting Function|[0] direction to the center cell;[1] center cell's aspect direction
11+
OutputRaster|CONVERGENCE|Convergence Index
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Convergence Index
2+
ta_morphometry
3+
ParameterRaster|ELEVATION|Elevation|False
4+
ParameterSelection|METHOD|Method|[0] Aspect;[1] Gradient
5+
ParameterSelection|NEIGHBOURS|Gradient Calculation|[0] 2 x 2;[1] 3 x 3
6+
OutputRaster|RESULT|Convergence Index
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Convert Data Storage Type
2+
grid_tools
3+
ParameterRaster|INPUT|Grid|False
4+
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
5+
OutputRaster|OUTPUT|Converted Grid
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Convert Lines to Points
2+
shapes_points
3+
ParameterVector|LINES|Lines|1|False
4+
ParameterBoolean|ADD |Insert Additional Points|True
5+
ParameterNumber|DIST|Insert Distance|0.0|None|1.0
6+
OutputVector|POINTS|Points

0 commit comments

Comments
 (0)