Skip to content

Commit

Permalink
[processing] added help files for algs in qgis group
Browse files Browse the repository at this point in the history
Most help files missing content
  • Loading branch information
volaya committed Jun 8, 2014
1 parent d8dfdd2 commit 15e9238
Show file tree
Hide file tree
Showing 62 changed files with 1,980 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
ADD AUTOINCREMENTAL FIELD
=========================

Description
-----------

Parameters
----------

- ``Input layer[Vector]``:

Outputs
-------

- ``Output layer[Vector]``:

See also
---------


Console usage
-------------


::

processing.runalg('qgis:addautoincrementalfield', input, output)
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
ADD FIELD TO ATTRIBUTES TABLE
=============================

Description
-----------

Parameters
----------

- ``Input layer[Vector]``:
- ``Field name[String]``:
- ``Field type[Selection]``:

Outputs
-------

- ``Output layer[Vector]``:

See also
---------


Console usage
-------------


::

processing.runalg('qgis:addfieldtoattributestable', input_layer, field_name, field_type, output_layer)

Available options for selection parameters:

field_type(Field type)
0 - Integer
1 - Float
2 - String
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
ADVANCED PYTHON FIELD CALCULATOR
================================

Description
-----------

Parameters
----------

- ``Input layer[Vector]``:
- ``Result field name[String]``:
- ``Global expression[String]``:
- ``Formula[String]``:

Outputs
-------

- ``Output layer[Vector]``:

See also
---------


Console usage
-------------


::

processing.runalg('qgis:advancedpythonfieldcalculator', input_layer, field_name, global, formula, output_layer)
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
BASIC STATISTICS FOR NUMERIC FIELDS
===================================

Description
-----------

Parameters
----------

- ``Input vector layer[Vector]``:
- ``Field to calculate statistics on[TableField]``:

Outputs
-------

- ``Statistics for numeric field[HTML]``:
- ``Coefficient of Variation[Number]``:
- ``Minimum value[Number]``:
- ``Maximum value[Number]``:
- ``Sum[Number]``:
- ``Mean value[Number]``:
- ``Count[Number]``:
- ``Range[Number]``:
- ``Median[Number]``:
- ``Number of unique values[Number]``:
- ``Standard deviation[Number]``:

See also
---------


Console usage
-------------


::

processing.runalg('qgis:basicstatisticsfornumericfields', input_layer, field_name, output_html_file)
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
BASIC STATISTICS FOR TEXT FIELDS
================================

Description
-----------

Parameters
----------

- ``Input vector layer[Vector]``:
- ``Field to calculate statistics on[TableField]``:

Outputs
-------

- ``Statistics for text field[HTML]``:
- ``Minimum length[Number]``:
- ``Maximum length[Number]``:
- ``Mean length[Number]``:
- ``Count[Number]``:
- ``Number of empty values[Number]``:
- ``Number of non-empty values[Number]``:
- ``Number of unique values[Number]``:

See also
---------


Console usage
-------------


::

processing.runalg('qgis:basicstatisticsfortextfields', input_layer, field_name, output_html_file)
28 changes: 28 additions & 0 deletions python/plugins/processing/algs/qgis/help/clip.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
CLIP
====

Description
-----------

Parameters
----------

- ``Input layer[Vector]``:
- ``Clip layer[Vector]``:

Outputs
-------

- ``Clipped[Vector]``:

See also
---------


Console usage
-------------


::

processing.runalg('qgis:clip', input, input2, output)
39 changes: 39 additions & 0 deletions python/plugins/processing/algs/qgis/help/convertgeometrytype.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
CONVERT GEOMETRY TYPE
=====================

Description
-----------
With this algorithm you can convert a geometry type to another one. For example you can convert a polygons layer into its centroid
(points layer).

Parameters
----------

- ``Input layer[Vector]``: layer in input (it can be a points, a lines or a polygons layer)
- ``New Geometry Type[Selection]``: type of conversion to perform

Outputs
-------

- ``Output[Vector]``: the resulting layer

See also
---------


Console usage
-------------


::

processing.runalg('qgis:convertgeometrytype', layername, newtype, savename)

Available options for selection parameters:

newtype(New Geometry Type)
0 - Centroids
1 - Nodes
2 - Linestrings
3 - Multilinestrings
4 - Polygons
35 changes: 35 additions & 0 deletions python/plugins/processing/algs/qgis/help/convexhull.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
CONVEX HULL
===========

Description
-----------

Parameters
----------

- ``Input layer[Vector]``:
- ``Field[TableField]``:
- ``Method[Selection]``:

Outputs
-------

- ``Convex hull[Vector]``:

See also
---------


Console usage
-------------


::

processing.runalg('qgis:convexhull', input, field, method, output)

Available options for selection parameters:

method(Method)
0 - Create single minimum convex hull
1 - Create convex hulls based on field
30 changes: 30 additions & 0 deletions python/plugins/processing/algs/qgis/help/countpointsinpolygon.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
COUNT POINTS IN POLYGON
=======================

Description
-----------
This algorithm counts the number of points present in each feature of a polygons layer.

Parameters
----------

- ``Polygons[Vector]``:polygons layer
- ``Points[Vector]``:points layer
- ``Count field name[String]``:the name of the attribute table column containing the points number

Outputs
-------

- ``Result[Vector]``: resulting layer with the attribute table containing the new column of the points count.

See also
---------


Console usage
-------------


::

processing.runalg('qgis:countpointsinpolygon', polygons, points, field, output)
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
COUNT POINTS IN POLYGON(WEIGHTED)
=================================

Description
-----------
This algorithm counts the number of points in each feature of a polygons layer and calculates the mean of the selected field for
each feature of the polygons layer.
These values will be added to the attribute table of the resulting polygons layer.

Parameters
----------

- ``Polygons[Vector]``: polygons layer in input
- ``Points[Vector]``: points layer in input
- ``Weight field[TableField]``: weight field of the points attribute table
- ``Count field name[String]``: name of the column for the new weighted field

Outputs
-------

- ``Result[Vector]``: the resulting polygons layer

See also
---------
Count points in polygon algorithm

Console usage
-------------


::

processing.runalg('qgis:countpointsinpolygonweighted', polygons, points, weight, field, output)
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
COUNT UNIQUE POINTS IN POLYGON
==============================

Description
-----------
This algorithm counts the number of unique values of a points layer in a polygons one. The algorithm creates a new polygons
layer with an extra column in the attribute table containing the count of unique values for each feature.

Parameters
----------

- ``Polygons[Vector]``: polygons layer in input
- ``Points[Vector]``: points layer in input
- ``Class field[TableField]``: points layer column name of the unique value chosen
- ``Count field name[String]``: column name containging the count of unique values in the resulting polygons layer

Outputs
-------

- ``Result[Vector]``: the resulting polygons layer

See also
---------


Console usage
-------------


::

processing.runalg('qgis:countuniquepointsinpolygon', polygons, points, classfield, field, output)
Loading

0 comments on commit 15e9238

Please sign in to comment.