|updatedisclaimer| Shapes polygons =============== Convert lines to polygons ------------------------- Description ........... Converts lines to polygons. Parameters .......... ``Lines`` [vector: line] Lines to convert. Outputs ....... ``Polygons`` [vector] The resulting layer. Console usage ............. :: processing.runalg('saga:convertlinestopolygons', lines, polygons) See also ........ Convert polygon/line vertices to points --------------------------------------- Description ........... Converts the line or polygon vertices into points. Parameters .......... ``Shapes`` [vector: any] Layer to process. Outputs ....... ``Points`` [vector] The resulting layer. Console usage ............. :: processing.runalg('saga:convertpolygonlineverticestopoints', shapes, points) See also ........ Polygon centroids ----------------- Description ........... Calculates the centroids of polygons. Parameters .......... ``Polygons`` [vector: polygon] Input layer. ``Centroids for each part`` [boolean] Determites whether centroids should be calculated for each part of multipart polygon or not. Default: *True* Outputs ....... ``Centroids`` [vector] The resulting layer. Console usage ............. :: processing.runalg('saga:polygoncentroids', polygons, method, centroids) See also ........ Polygon dissolve ---------------- Description ........... Parameters .......... ``Polygons`` [vector: polygon] ``1. Attribute`` [tablefield: any] Optional. ``2. Attribute`` [tablefield: any] Optional. ``3. Attribute`` [tablefield: any] Optional. ``Dissolve...`` [selection] Options: * 0 --- [0] polygons with same attribute value * 1 --- [1] all polygons * 2 --- [2] polygons with same attribute value (keep inner boundaries) * 3 --- [3] all polygons (keep inner boundaries) Default: *0* Outputs ....... ``Dissolved Polygons`` [vector] Console usage ............. :: processing.runalg('saga:polygondissolve', polygons, field_1, field_2, field_3, dissolve, dissolved) See also ........ Polygon-line intersection ------------------------- Description ........... Parameters .......... ``Polygons`` [vector: polygon] ``Lines`` [vector: line] Outputs ....... ``Intersection`` [vector] Console usage ............. :: processing.runalg('saga:polygonlineintersection', polygons, lines, intersect) See also ........ Polygon parts to separate polygons ---------------------------------- Description ........... Parameters .......... ``Polygons`` [vector: polygon] ``Ignore Lakes`` [boolean] Default: *True* Outputs ....... ``Polygon Parts`` [vector] Console usage ............. :: processing.runalg('saga:polygonpartstoseparatepolygons', polygons, lakes, parts) See also ........ Polygon properties ------------------ Description ........... Parameters .......... ``Polygons`` [vector: polygon] ``Number of Parts`` [boolean] Default: *True* ``Number of Vertices`` [boolean] Default: *True* ``Perimeter`` [boolean] Default: *True* ``Area`` [boolean] Default: *True* Outputs ....... ``Polygons with Property Attributes`` [vector] Console usage ............. :: processing.runalg('saga:polygonproperties', polygons, bparts, bpoints, blength, barea, output) See also ........ Polygon shape indices --------------------- Description ........... Calculates spatial statistics for polygons. This includes: * area * perimeter * perimeter / area * perimeter / square root of the area * maximum distance * maximum distance / area * maximum distance / square root of the area * shape index Parameters .......... ``Shapes`` [vector: polygon] Layer to analyze. Outputs ....... ``Shape Index`` [vector] The resulting layer. Console usage ............. :: processing.runalg('saga:polygonshapeindices', shapes, index) See also ........ Polygons to edges and nodes --------------------------- Description ........... Extracts boundaries and nodes of polygons in separate files. Parameters .......... ``Polygons`` [vector: polygon] Input layer. Outputs ....... ``Edges`` [vector] Resulting line layer with polygons boundaries. ``Nodes`` [vector] Resulting line layer with polygons nodes. Console usage ............. :: processing.runalg('saga:polygonstoedgesandnodes', polygons, edges, nodes) See also ........