Skip to content

Commit

Permalink
Uniform and informative output names for Processing (GRASS-v.* module…
Browse files Browse the repository at this point in the history
…s take #2 - up to v.split*)
  • Loading branch information
pcav committed May 20, 2015
1 parent b1ffff8 commit 80a8c49
Show file tree
Hide file tree
Showing 35 changed files with 35 additions and 58 deletions.
Expand Up @@ -7,5 +7,4 @@ 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

OutputVector|map|Grid
Expand Up @@ -3,5 +3,4 @@ v.neighbors - Makes each cell value a function of attribute values and stores in
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

OutputRaster|output|Neighborhood
Expand Up @@ -6,5 +6,4 @@ ParameterString|tests|Lists of tests (1-15): e.g. 1,3-8,13|1-3
ParameterTableField|column|Attribute column|map|-1|False
ParameterBoolean|-r|Use only points in current region|True
ParameterBoolean|-l|lognormal|False
OutputHTML|html|Output

OutputHTML|html|Normality
Expand Up @@ -2,5 +2,4 @@ v.out.dxf
v.out.dxf - Exports GRASS vector map layers to DXF file format.
Vector (v.*)
ParameterVector|input|Name of input vector map|-1|False
OutputFile|output|Name of DXF output file

OutputFile|output|DXF vector
Expand Up @@ -6,4 +6,4 @@ ParameterString|type|Feature type|point,line,area,face
ParameterNumber|size|Radius of sphere for points and tube for lines|0|None|10.0
ParameterString|zmod|Modifier for z coordinates, this string is appended to each z coordinate|
ParameterString|objmod|Object modifier (OBJECT_MODIFIER in POV-Ray documentation)|
OutputFile|output|Output file
OutputFile|output|POV vector
Expand Up @@ -9,4 +9,3 @@ 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

Expand Up @@ -9,5 +9,4 @@ 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

OutputVector|output|Parallel lines
Expand Up @@ -3,6 +3,6 @@ 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|output|Combined
OutputVector|bbox|Bounding boxes

Expand Up @@ -6,5 +6,4 @@ ParameterSelection|distribution|Distribution of perturbation|uniform;normal
ParameterString|parameters|Parameter(s) of distribution (uniform: maximum; normal: mean and stddev)|
ParameterNumber|minimum|Minimum deviation in map units|None|None|0.0
ParameterNumber|seed|Seed for random number generation|None|None|0
OutputVector|output|Output layer

OutputVector|output|Perturbed
Expand Up @@ -4,5 +4,4 @@ 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

OutputVector|output|Quadrant
Expand Up @@ -6,4 +6,4 @@ ParameterNumber|zmin|Minimum z height for 3D output|None|None|0.0
ParameterNumber|zmax|Maximum z height for 3D output|None|None|0.0
ParameterString|column|Column for Z values|z
*ParameterBoolean|-d|Use drand48() function instead of rand()|False
OutputVector|output|Output layer
OutputVector|output|Random
Expand Up @@ -5,5 +5,4 @@ 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|-1|False
ParameterFile|rules|Reclass rule file|False
OutputVector|output|Reclassified layer

OutputVector|output|Reclassified
Expand Up @@ -6,5 +6,4 @@ 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

OutputHTML|html|Report
Expand Up @@ -7,5 +7,4 @@ 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

OutputVector|output|Sampled
Expand Up @@ -3,5 +3,4 @@ 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

OutputVector|output|Segments
Expand Up @@ -7,4 +7,4 @@ ParameterVector|binput|Input layer (B)|-1|False
ParameterSelection|btype|Input layer (B) Type|area;line;point
ParameterSelection|operator|Operator to use|overlap;equals;disjoint;intersects;touches;crosses;within;contains;relate
ParameterBoolean|-r|Reverse selection|False
OutputVector|output|Name for output vector map
OutputVector|output|Selected
Expand Up @@ -3,5 +3,4 @@ v.split.length - Split lines to shorter segments by length.
Vector (v.*)
ParameterVector|input|Input lines layer|1|False
ParameterNumber|length|Maximum segment length|None|None|10.0
OutputVector|output|Output layer

OutputVector|output|Splitted by legth
Expand Up @@ -3,5 +3,4 @@ v.split.vert - Split lines to shorter segments by max number of vertices.
Vector (v.*)
ParameterVector|input|Input lines layer|1|False
ParameterNumber|vertices|Maximum number of vertices in segment|None|None|10
OutputVector|output|Output layer

OutputVector|output|Splitted by vertices
Expand Up @@ -8,4 +8,4 @@ ParameterString|box|Width and height of boxes in grid|
ParameterString|angle|Angle of rotation (in degrees counter-clockwise)|0
ParameterBoolean|-h|Create hexagons (default: rectangles)|False
ParameterBoolean|-p|Create grid of points instead of areas and centroids|False
OutputVector|map|Output grid
OutputVector|map|Grid
Expand Up @@ -3,5 +3,4 @@ v.neighbors - Makes each cell value a function of attribute values and stores in
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

OutputRaster|output|Neighborhood
Expand Up @@ -6,5 +6,4 @@ ParameterString|tests|Lists of tests (1-15): e.g. 1,3-8,13|1-3
ParameterTableField|column|Attribute column|map|-1|False
ParameterBoolean|-r|Use only points in current region|True
ParameterBoolean|-l|lognormal|False
OutputHTML|html|Output

OutputHTML|html|Normality
Expand Up @@ -2,5 +2,4 @@ v.out.dxf
v.out.dxf - Exports GRASS vector map layers to DXF file format.
Vector (v.*)
ParameterVector|input|Name of input vector map|-1|False
OutputFile|output|Name of DXF output file

OutputFile|output|DXF vector
Expand Up @@ -6,4 +6,4 @@ ParameterString|type|Feature type|point,line,area,face
ParameterNumber|size|Radius of sphere for points and tube for lines|0|None|10.0
ParameterString|zmod|Modifier for z coordinates, this string is appended to each z coordinate|
ParameterString|objmod|Object modifier (OBJECT_MODIFIER in POV-Ray documentation)|
OutputFile|output|Output file
OutputFile|output|POV vector
Expand Up @@ -9,5 +9,4 @@ 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

OutputVector|output|Parallel lines
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/grass7/description/v.patch.txt
Expand Up @@ -3,5 +3,5 @@ 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|Output vector map
OutputVector|bbox|Output vector map where bounding boxes of input vector maps are written to
OutputVector|output|Combined
OutputVector|bbox|Bounding boxes
Expand Up @@ -6,5 +6,4 @@ ParameterSelection|distribution|Distribution of perturbation|uniform;normal
ParameterString|parameters|Parameter(s) of distribution (uniform: maximum; normal: mean and stddev)|
ParameterNumber|minimum|Minimum deviation in map units|None|None|0.0
ParameterNumber|seed|Seed for random number generation|None|None|0
OutputVector|output|Output layer

OutputVector|output|Perturbed
Expand Up @@ -4,4 +4,4 @@ Vector (v.*)
ParameterVector|input|Vector points layer|0|False
ParameterNumber|nquadrats|Number of quadrats|0|None|4
ParameterNumber|radius|Quadrat radius|0.0|None|10
OutputVector|output|Output quadrat centers layer
OutputVector|output|Quadrats
Expand Up @@ -5,4 +5,4 @@ ParameterNumber|npoints|Number of points to be created|None|None|100
ParameterNumber|zmin|Minimum z height for 3D output|None|None|0.0
ParameterNumber|zmax|Maximum z height for 3D output|None|None|0.0
ParameterString|column|Column for Z values|z
OutputVector|output|Output vector layer
OutputVector|output|Random
Expand Up @@ -5,5 +5,4 @@ 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|-1|False
ParameterFile|rules|Reclass rule file|False
OutputVector|output|Reclassified layer

OutputVector|output|Reclassified
Expand Up @@ -5,4 +5,4 @@ ParameterVector|map|Input layer|-1|False
ParameterSelection|option|Value to calculate|area;length;coor
ParameterSelection|units|units|miles;feet;meters;kilometers;acres;hectares;percent
ParameterSelection|sort|Sort the result (ascending, descending)|asc;desc
OutputHTML|html|Report HTML file
OutputHTML|html|Report
Expand Up @@ -6,4 +6,4 @@ ParameterTableField|column|Vector layer attribute column to use for comparison|i
ParameterRaster|raster|Raster map to be sampled|False
ParameterNumber|zscale|Sampled raster values will be multiplied by this factor|None|None|1.0
ParameterSelection|method|Sampling interpolation method|nearest;bilinear;bicubic
OutputVector|output|Output vector layer
OutputVector|output|Sampled
Expand Up @@ -3,5 +3,4 @@ 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

OutputVector|output|Segments
Expand Up @@ -7,4 +7,4 @@ ParameterVector|binput|Input layer (B)|-1|False
ParameterSelection|btype|Input layer (B) Type|area;line;point
ParameterSelection|operator|Operator to use|overlap;equals;disjoint;intersect;touches;crosses;within;contains;relate
ParameterBoolean|-r|Reverse selection|False
OutputVector|output|Name for output vector map
OutputVector|output|Selected
Expand Up @@ -3,5 +3,4 @@ v.split.length - Split lines to shorter segments by length.
Vector (v.*)
ParameterVector|input|Input lines layer|1|False
ParameterNumber|length|Maximum segment length|None|None|10.0
OutputVector|output|Output layer

OutputVector|output|Splitted by length
Expand Up @@ -3,5 +3,4 @@ v.split.vert - Split lines to shorter segments by max number of vertices.
Vector (v.*)
ParameterVector|input|Input lines layer|1|False
ParameterNumber|vertices|Maximum number of vertices in segment|None|None|10
OutputVector|output|Output layer

OutputVector|output|Splitted by vertices

0 comments on commit 80a8c49

Please sign in to comment.