| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| v.extract | ||
| v.extract - Selects vector objects from a vector layer a new layer containing only the selected objects. | ||
| Vector (v.*) | ||
| ParameterVector|input|Vector layer|-1|False | ||
| ParameterString|where|WHERE conditions of SQL statement without 'where' keyword| | ||
| ParameterBoolean|-d|Dissolve common boundaries|True | ||
| OutputVector|output|Output layer | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| v.hull | ||
| v.hull - Produces a convex hull for a given vector map. | ||
| Vector (v.*) | ||
| ParameterVector|input|Input layer|0|False | ||
| ParameterBoolean|-a|Use all vector points (do not limit to current region)|False | ||
| OutputVector|output|Convex hull | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,9 @@ | ||
| v.kcv | ||
| v.kcv - Randomly partition points into test/train sets. | ||
| Vector (v.*) | ||
| ParameterVector|input|Input layer|-1|False | ||
| ParameterNumber|k|Number of partitions|2.0|32767|10 | ||
| ParameterString|column|Name for new column to which partition number is written|part | ||
| ParameterBoolean|-d|Use drand48()|False | ||
| OutputVector|output|Output layer | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,13 @@ | ||
| v.lidar.correction | ||
| v.lidar.correction - Correction of the v.lidar.growing output. It is the last of the three algorithms for LIDAR filtering. | ||
| Vector (v.*) | ||
| ParameterVector|input|Input vector layer (v.lidar.growing output)|-1|False | ||
| ParameterString|sce|Interpolation spline step value in east direction|25 | ||
| ParameterString|scn|Interpolation spline step value in north direction|25 | ||
| ParameterString|lambda_c|Regularization weight in reclassification evaluation|1 | ||
| ParameterString|tch|High threshold for object to terrain reclassification|2 | ||
| ParameterString|tcl|Low threshold for object to terrain reclassification|1 | ||
| ParameterBoolean|-e|Estimate point density and distance|False | ||
| OutputVector|output|Output classified layer | ||
| OutputVector|terrain|Only 'terrain' points output layer | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,9 @@ | ||
| v.lidar.growing | ||
| v.lidar.growing - Building contour determination and Region Growing algorithm for determining the building inside | ||
| Vector (v.*) | ||
| ParameterVector|input|Input vector (v.lidar.edgedetection output)|-1|False | ||
| ParameterVector|first|First pulse vector layer|-1|False | ||
| ParameterNumber|tj|Threshold for cell object frequency in region growing|None|None|0.2 | ||
| ParameterNumber|td|Threshold for double pulse in region growing|None|None|0.6 | ||
| OutputVector|output|Output vector layer | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,11 @@ | ||
| v.mkgrid | ||
| v.mkgrid - Creates a GRASS vector layer of a user-defined grid. | ||
| Vector (v.*) | ||
| ParameterString|grid|Number of rows and columns in grid|10,10 | ||
| ParameterSelection|position|Where to place the grid|coor | ||
| ParameterString|coor|Lower left easting and northing coordinates of map| | ||
| ParameterString|box|Width and height of boxes in grid| | ||
| ParameterString|angle|Angle of rotation (in degrees counter-clockwise)|0 | ||
| ParameterBoolean|-p|Create grid of points instead of areas and centroids|False | ||
| OutputVector|map|Output grid | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| v.neighbors | ||
| v.neighbors - Makes each cell value a function of attribute values and stores in an output raster map. | ||
| Vector (v.*) | ||
| ParameterVector|input|Input vector layer|-1|False | ||
| ParameterNumber|size|Neighborhood diameter in map units|None|None|0.1 | ||
| OutputRaster|output|Output raster layer | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,12 @@ | ||
| v.outlier | ||
| v.outlier - Removes outliers from vector point data. | ||
| Vector (v.*) | ||
| ParameterVector|input|Input vector layer|-1|False | ||
| ParameterNumber|soe|Interpolation spline step value in east direction|None|None|10 | ||
| ParameterNumber|son|Interpolation spline step value in north direction|None|None|10 | ||
| ParameterNumber|lambda_i|Tykhonov regularization weight|None|None|0.1 | ||
| ParameterNumber|thres_o|Threshold for the outliers|None|None|50 | ||
| ParameterBoolean|-e|Estimate point density and distance|False | ||
| OutputVector|output|Layer without outliers | ||
| OutputVector|outlier|Outliers | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,9 @@ | ||
| v.overlay | ||
| v.overlay - Overlays two vector maps. | ||
| Vector (v.*) | ||
| ParameterVector|ainput|Input layer (A)|2|False | ||
| ParameterVector|binput|Input layer (B)|2|False | ||
| ParameterSelection|operator|Operator to use|and;or;not;xor | ||
| ParameterBoolean|-t|Do not create attribute table|False | ||
| OutputVector|output|Overlay | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,13 @@ | ||
| v.parallel | ||
| v.parallel - Creates parallel line to input vector lines. | ||
| Vector (v.*) | ||
| ParameterVector|input|Input lines|1|False | ||
| ParameterNumber|distance|Offset along major axis in map units|None|None|1 | ||
| ParameterNumber|minordistance|Offset along minor axis in map units|None|None|1 | ||
| ParameterNumber|angle|Angle of major axis in degrees|None|None|0 | ||
| ParameterSelection|side|Side|left;right;both | ||
| ParameterNumber|tolerance|Tolerance of arc polylines in map units|None|None|1 | ||
| ParameterBoolean|-r|Make outside corners round|False | ||
| ParameterBoolean|-b|Create buffer-like parallel lines|False | ||
| OutputVector|output|Layer with parallel lines | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| v.patch | ||
| v.patch - Create a new vector map layer by combining other vector map layers. | ||
| Vector (v.*) | ||
| ParameterMultipleInput|input|Input layers|-1.0|False | ||
| ParameterBoolean|-e|Copy also attribute table|True | ||
| OutputVector|output|Name for output vector map | ||
| OutputVector|bbox|Bounding boxes | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| v.qcount | ||
| v.qcount - Indices for quadrant counts of sites lists. | ||
| Vector (v.*) | ||
| ParameterVector|input|Vector points layer|0|False | ||
| ParameterNumber|n|Number of quadrants|0|None|4 | ||
| ParameterNumber|r|Quadrat radius|0.0|None|10 | ||
| OutputVector|output|Output quadrant layer | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,9 @@ | ||
| v.reclass | ||
| v.reclass - Changes vector category values for an existing vector map according to results of SQL queries or a value in attribute table column. | ||
| Vector (v.*) | ||
| ParameterVector|input|Input layer|-1|False | ||
| ParameterString|type|Feature type|point,line,boundary,centroid | ||
| ParameterTableField|column|The name of the column whose values are to be used as new categories|input | ||
| ParameterFile|rules|Reclass rule file|False | ||
| OutputVector|output|Reclassified layer | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,10 @@ | ||
| v.report | ||
| v.report - Reports geometry statistics for vectors. | ||
| Vector (v.*) | ||
| ParameterVector|map|Input layer|-1|False | ||
| ParameterSelection|option|Value to calculate|area;length;coor | ||
| ParameterSelection|units|units|miles;feet;meters;kilometers;acres;hectares;percent | ||
| ParameterBoolean|-r|Reverse sort the result|False | ||
| ParameterBoolean|-s|Sort the result|False | ||
| OutputHTML|html|Report HTML file | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,11 @@ | ||
| v.sample | ||
| v.sample - Samples a raster layer at vector point locations. | ||
| Vector (v.*) | ||
| ParameterVector|input|Vector layer defining sample points|0|False | ||
| ParameterTableField|column|Vector layer attribute column to use for comparison|input | ||
| ParameterRaster|raster|Raster map to be sampled|False | ||
| ParameterNumber|z|Sampled raster values will be multiplied by this factor|None|None|1.0 | ||
| ParameterBoolean|-b|Bilinear interpolation (default is nearest neighbor)|False | ||
| ParameterBoolean|-c|Cubic convolution interpolation (default is nearest neighbor)|False | ||
| OutputVector|output|Output vector layer | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| v.segment | ||
| v.segment - Creates points/segments from input vector lines and positions. | ||
| Vector (v.*) | ||
| ParameterVector|input|Input lines layer|1|False | ||
| ParameterFile|file|File containing segment rules|False | ||
| OutputVector|output|Output vector layer | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| v.split | ||
| v.split - Split lines to shorter segments. | ||
| Vector (v.*) | ||
| ParameterVector|input|Input lines layer|1|False | ||
| ParameterNumber|length|Maximum segment length|None|None|10.0 | ||
| ParameterNumber|vertices|Maximum number of vertices in segment|None|None|10 | ||
| OutputVector|output|Output layer | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,14 @@ | ||
| v.surf.bspline | ||
| v.surf.bspline - Bicubic or bilinear spline interpolation with Tykhonov regularization. | ||
| Vector (v.*) | ||
| ParameterVector|input|Input points layer|-1|False | ||
| ParameterVector|sparse|Input layer of sparse points|-1|False | ||
| ParameterNumber|sie|Length of each spline step in the east-west direction|None|None|4 | ||
| ParameterNumber|sin|Length of each spline step in the north-south direction|None|None|4 | ||
| ParameterSelection|method|Spline interpolation algorithm|bilinear;bicubic | ||
| ParameterNumber|lambda_i|Tykhonov regularization parameter (affects smoothing)|None|None|1 | ||
| ParameterTableField|column|Attribute table column with values to interpolate|input | ||
| ParameterBoolean|-c|Find the best Tykhonov regularizing parameter using a "leave-one-out" cross validation method|False | ||
| ParameterBoolean|-e|Estimate point density and distance|False | ||
| OutputVector|output|Output vector layer | ||
| OutputRaster|raster|Output raster layer |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,9 @@ | ||
| v.surf.idw | ||
| v.surf.idw - Surface interpolation from vector point data by Inverse Distance Squared Weighting. | ||
| Vector (v.*) | ||
| ParameterVector|input|Input vector layer|0|False | ||
| ParameterNumber|npoints|Number of interpolation points|None|None|12 | ||
| ParameterNumber|power|Power parameter; greater values assign greater influence to closer points|None|None|2.0 | ||
| ParameterTableField|column|Attribute table column with values to interpolate|input | ||
| ParameterBoolean|-n|Don't index points by raster cell|False | ||
| OutputRaster|output|Output raster |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| v.to.rast | ||
| v.to.rast.attribute - Converts (rasterize) a vector layer into a raster layer. | ||
| Vector (v.*) | ||
| ParameterVector|input|Input vector layer|-1|False | ||
| ParameterSelection|use|Source of raster values|attr | ||
| ParameterTableField|column|Name of column for 'attr' parameter (data type must be numeric)|input | ||
| OutputRaster|output|Rasterized layer |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| v.to.rast | ||
| v.to.rast.value - Converts (rasterize) a vector layer into a raster layer. | ||
| Vector (v.*) | ||
| ParameterVector|input|Input vector layer|-1|False | ||
| ParameterSelection|use|Source of raster values|val | ||
| ParameterNumber|value|Raster value|None|None|1.0 | ||
| OutputRaster|output|Rasterized layer |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| v.voronoi | ||
| v.voronoi - Creates a Voronoi diagram from an input vector layer containing points. | ||
| Vector (v.*) | ||
| ParameterVector|input|Input points layer|0|False | ||
| ParameterBoolean|-l|Output tessellation as a graph (lines), not areas|False | ||
| ParameterBoolean|-t|Do not create attribute table|False | ||
| OutputVector|output|Voronoi diagram | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| # -*- coding: utf-8 -*- | ||
|
|
||
| """ | ||
| *************************************************************************** | ||
| r_coin.py | ||
| --------------------- | ||
| Date : December 2012 | ||
| Copyright : (C) 2012 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__ = 'December 2012' | ||
| __copyright__ = '(C) 2012, Victor Olaya' | ||
| # This will get replaced with a git SHA1 when you do a git archive | ||
| __revision__ = '$Format:%H$' | ||
|
|
||
| def postProcessResults(alg): | ||
| htmlFile = alg.getOutputFromName('html').value | ||
| found = False | ||
| f = open(htmlFile, "w") | ||
| f.write("<h2>r.coin</h2>\n") | ||
| for line in alg.consoleOutput: | ||
| if found and not line.strip().endswith('exit'): | ||
| f.write(line + "<br>\n") | ||
| if 'r.coin' in line: | ||
| found = True | ||
| f.close() | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| # -*- coding: utf-8 -*- | ||
|
|
||
| """ | ||
| *************************************************************************** | ||
| r_covar.py | ||
| --------------------- | ||
| Date : December 2012 | ||
| Copyright : (C) 2012 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__ = 'December 2012' | ||
| __copyright__ = '(C) 2012, Victor Olaya' | ||
| # This will get replaced with a git SHA1 when you do a git archive | ||
| __revision__ = '$Format:%H$' | ||
|
|
||
| def postProcessResults(alg): | ||
| htmlFile = alg.getOutputFromName('html').value | ||
| found = False | ||
| f = open(htmlFile, "w") | ||
| f.write("<h2>r.covar</h2>\n") | ||
| for line in alg.consoleOutput: | ||
| if found and not line.strip().endswith('exit'): | ||
| f.write(line + "<br>\n") | ||
| if 'r.covar' in line: | ||
| found = True | ||
| f.close() | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| # -*- coding: utf-8 -*- | ||
|
|
||
| """ | ||
| *************************************************************************** | ||
| v_class.py | ||
| --------------------- | ||
| Date : December 2012 | ||
| Copyright : (C) 2012 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__ = 'December 2012' | ||
| __copyright__ = '(C) 2012, Victor Olaya' | ||
| # This will get replaced with a git SHA1 when you do a git archive | ||
| __revision__ = '$Format:%H$' | ||
|
|
||
| def postProcessResults(alg): | ||
| htmlFile = alg.getOutputFromName('html').value | ||
| found = False | ||
| f = open(htmlFile, "w") | ||
| f.write("<h2>v.class</h2>\n") | ||
| for line in alg.consoleOutput: | ||
| if found and not line.strip().endswith('exit'): | ||
| f.write(line + "<br>\n") | ||
| if 'v.class' in line: | ||
| found = True | ||
| f.close() | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| # -*- coding: utf-8 -*- | ||
|
|
||
| """ | ||
| *************************************************************************** | ||
| v_info.py | ||
| --------------------- | ||
| Date : December 2012 | ||
| Copyright : (C) 2012 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__ = 'December 2012' | ||
| __copyright__ = '(C) 2012, Victor Olaya' | ||
| # This will get replaced with a git SHA1 when you do a git archive | ||
| __revision__ = '$Format:%H$' | ||
|
|
||
| def postProcessResults(alg): | ||
| htmlFile = alg.getOutputFromName('html').value | ||
| found = False | ||
| f = open(htmlFile, "w") | ||
| f.write("<h2>v.info</h2>\n") | ||
| for line in alg.consoleOutput: | ||
| if found and not line.strip().endswith('exit'): | ||
| f.write(line + "<br>\n") | ||
| if 'v.info' in line: | ||
| found = True | ||
| f.close() | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| # -*- coding: utf-8 -*- | ||
|
|
||
| """ | ||
| *************************************************************************** | ||
| v_normal.py | ||
| --------------------- | ||
| Date : December 2012 | ||
| Copyright : (C) 2012 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__ = 'December 2012' | ||
| __copyright__ = '(C) 2012, Victor Olaya' | ||
| # This will get replaced with a git SHA1 when you do a git archive | ||
| __revision__ = '$Format:%H$' | ||
|
|
||
| def postProcessResults(alg): | ||
| htmlFile = alg.getOutputFromName('html').value | ||
| found = False | ||
| f = open(htmlFile, "w") | ||
| f.write("<h2>v.normal</h2>\n") | ||
| for line in alg.consoleOutput: | ||
| if found and not line.strip().endswith('exit'): | ||
| f.write(line + "<br>\n") | ||
| if 'v.normal' in line: | ||
| found = True | ||
| f.close() | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| # -*- coding: utf-8 -*- | ||
|
|
||
| """ | ||
| *************************************************************************** | ||
| v_report.py | ||
| --------------------- | ||
| Date : December 2012 | ||
| Copyright : (C) 2012 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__ = 'December 2012' | ||
| __copyright__ = '(C) 2012, Victor Olaya' | ||
| # This will get replaced with a git SHA1 when you do a git archive | ||
| __revision__ = '$Format:%H$' | ||
|
|
||
| def postProcessResults(alg): | ||
| htmlFile = alg.getOutputFromName('html').value | ||
| found = False | ||
| f = open(htmlFile, "w") | ||
| f.write("<h2>v.report</h2>\n") | ||
| for line in alg.consoleOutput: | ||
| if found and not line.strip().endswith('exit'): | ||
| f.write(line + "<br>\n") | ||
| if 'v.report' in line: | ||
| found = True | ||
| f.close() | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| # -*- coding: utf-8 -*- | ||
|
|
||
| """ | ||
| *************************************************************************** | ||
| v_univar.py | ||
| --------------------- | ||
| Date : December 2012 | ||
| Copyright : (C) 2012 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__ = 'December 2012' | ||
| __copyright__ = '(C) 2012, Victor Olaya' | ||
| # This will get replaced with a git SHA1 when you do a git archive | ||
| __revision__ = '$Format:%H$' | ||
|
|
||
| def postProcessResults(alg): | ||
| htmlFile = alg.getOutputFromName('html').value | ||
| found = False | ||
| f = open(htmlFile, "w") | ||
| f.write("<h2>v.univar</h2>\n") | ||
| for line in alg.consoleOutput: | ||
| if found and not line.strip().endswith('exit'): | ||
| f.write(line + "<br>\n") | ||
| if 'v.univar' in line: | ||
| found = True | ||
| f.close() | ||
|
|