Skip to content

Commit 979d876

Browse files
committed
[processing] modified saga ids description and fixed example script bug
1 parent d9a9620 commit 979d876

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Inverse Distance Weighted
2+
grid_gridding
3+
ParameterVector|SHAPES|Points|0|False
4+
ParameterTableField|FIELD|Attribute|SHAPES|-1|False
5+
ParameterSelection|TARGET|Target Grid|[0] user defined
6+
ParameterSelection|WEIGHTING|Distance Weighting|[0] inverse distance to a power;[1] linearly decreasing within search radius;[2] exponential weighting scheme;[3] gaussian weighting scheme
7+
ParameterNumber|WEIGHT_POWER|Inverse Distance Power|0.0|None|2
8+
ParameterNumber|WEIGHT_BANDWIDTH|Exponential and Gaussian Weighting Bandwidth|0.0|None|1
9+
ParameterSelection|SEARCH_RANGE|Search Range|[0] search radius (local);[1] no search radius (global)
10+
ParameterNumber|SEARCH_RADIUS|Search Radius|None|None|100.0
11+
ParameterSelection|SEARCH_DIRECTION|Search Mode|[0] all directions;[1] quadrants
12+
ParameterSelection|SEARCH_POINTS_ALL|Number of Points|[0] maximum number of nearest points;[1] all points
13+
ParameterNumber|SEARCH_POINTS_MAX|Maximum Number of Points|None|None|10
14+
Extent USER_XMIN USER_XMAX USER_YMIN USER_YMAX
15+
ParameterNumber|USER_SIZE|Cellsize|None|None|100.0
16+
OutputRaster|USER_GRID|Grid

python/plugins/processing/script/scripts/Create_tiling_from_vector_layer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
width = (input.extent().xMaximum() - input.extent().xMinimum())
1010
cellsize = width / numpolygons
1111
height = (input.extent().yMaximum() - input.extent().yMinimum())
12-
processing.runalg("qgis:creategrid", cellsize, height, width, height, centerx, centery, 1, polygons)
12+
processing.runalg("qgis:creategrid", cellsize, height, width, height, centerx, centery, 1, input.crs(), polygons)

0 commit comments

Comments
 (0)