File: transectthroughpolygonshapefile.rst

package info (click to toggle)
qgis 2.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 374,696 kB
  • ctags: 66,263
  • sloc: cpp: 396,139; ansic: 241,070; python: 130,609; xml: 14,884; perl: 1,290; sh: 1,287; sql: 500; yacc: 268; lex: 242; makefile: 168
file content (43 lines) | stat: -rw-r--r-- 1,382 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
TRANSECT THROUGH POLYGON SHAPEFILE
==================================

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

Transect for lines and polygon shapefiles The goal of this module is to create a transect along a line through a polygon map. Eg |____ST1_____!_ST2_!__ST1__!_______ST#_____| (Soil type 1 etc...) This is done by creating a table with the ID of each line, the distance to the starting point and the different transects:

::

|  line_id  |  start  |  end  |  code/field  |
|    0      |    0    |  124  |     ST1      |
|    0      |   124   |  300  |     ST2      |
|    0      |   300   | 1223  |     ST1      |
|    0      |  1223   | 2504  |     ST3      |
|    1      |    0    |  200  |     ST4      |
|   ...     |   ...   |  ...  |     ...      |

The module requires an input shape with all the line transects [Transect_Line] and a polygon theme [Theme]. You also have to select which field you want to have in the resulting table [Transect_Result]. This can be an ID of the polygon theme if you want to link the tables later on, or any other field [Theme_Field]. 

Parameters
----------

- ``Line Transect(s)[Vector]``:
- ``Theme[Vector]``:
- ``Theme Field[TableField]``:

Outputs
-------

- ``Result table[Table]``:

See also
---------


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


::

	processing.runalg('saga:transectthroughpolygonshapefile', transect, theme, theme_field, transect_result)