Skip to content
Permalink
Browse files

[processing] modified saga ids description and fixed example script bug

  • Loading branch information
volaya committed Sep 1, 2013
1 parent d9a9620 commit 979d87632fedcccba14b13c17097b36b52904caa
@@ -0,0 +1,16 @@
Inverse Distance Weighted
grid_gridding
ParameterVector|SHAPES|Points|0|False
ParameterTableField|FIELD|Attribute|SHAPES|-1|False
ParameterSelection|TARGET|Target Grid|[0] user defined
ParameterSelection|WEIGHTING|Distance Weighting|[0] inverse distance to a power;[1] linearly decreasing within search radius;[2] exponential weighting scheme;[3] gaussian weighting scheme
ParameterNumber|WEIGHT_POWER|Inverse Distance Power|0.0|None|2
ParameterNumber|WEIGHT_BANDWIDTH|Exponential and Gaussian Weighting Bandwidth|0.0|None|1
ParameterSelection|SEARCH_RANGE|Search Range|[0] search radius (local);[1] no search radius (global)
ParameterNumber|SEARCH_RADIUS|Search Radius|None|None|100.0
ParameterSelection|SEARCH_DIRECTION|Search Mode|[0] all directions;[1] quadrants
ParameterSelection|SEARCH_POINTS_ALL|Number of Points|[0] maximum number of nearest points;[1] all points
ParameterNumber|SEARCH_POINTS_MAX|Maximum Number of Points|None|None|10
Extent USER_XMIN USER_XMAX USER_YMIN USER_YMAX
ParameterNumber|USER_SIZE|Cellsize|None|None|100.0
OutputRaster|USER_GRID|Grid
@@ -9,4 +9,4 @@
width = (input.extent().xMaximum() - input.extent().xMinimum())
cellsize = width / numpolygons
height = (input.extent().yMaximum() - input.extent().yMinimum())
processing.runalg("qgis:creategrid", cellsize, height, width, height, centerx, centery, 1, polygons)
processing.runalg("qgis:creategrid", cellsize, height, width, height, centerx, centery, 1, input.crs(), polygons)

0 comments on commit 979d876

Please sign in to comment.
You can’t perform that action at this time.