mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-15 00:04:37 -04:00
32 lines
641 B
ReStructuredText
32 lines
641 B
ReStructuredText
|
GET SHAPES EXTENTS
|
||
|
==================
|
||
|
|
||
|
Description
|
||
|
-----------
|
||
|
This algorithm draws new polygons according to the extent of the layer features. You can choose to draw either a new
|
||
|
polygon for each features or just a single polygon of the total extent (in this case the input layer has to be a
|
||
|
multipart layer).
|
||
|
|
||
|
Parameters
|
||
|
----------
|
||
|
|
||
|
- ``Shapes[Vector]``: input layer
|
||
|
- ``Parts[Boolean]``: YES draws a polygon for each feature, NO draws only one polygon
|
||
|
|
||
|
Outputs
|
||
|
-------
|
||
|
|
||
|
- ``Extents[Vector]``: the resulting layer
|
||
|
|
||
|
See also
|
||
|
---------
|
||
|
|
||
|
|
||
|
Console usage
|
||
|
-------------
|
||
|
|
||
|
|
||
|
::
|
||
|
|
||
|
sextante.runalg('saga:getshapesextents', shapes, parts, extents)
|