Mean polygon width by DGO¶
Summary¶
Calculate a poylgon width (ex. active channel width) with the VariableLengthTransects tool and resume the result by DGO.
Tags:metric
, width
, dgo
Usage¶
Algorithm:
- Intersect medial axis and DGOs
- Measure approximative input polygon width on each DGO
- Create orthogonal transects from medial axis DGOs, spaced by the sampling interval and with a length of 5*approximative width
- Cut transects by input polygon and measure length of each one
- Calculate transects length’s mean by DGO
AGOs are used to accelerate the process on huge datasets. If you don’t want to use them, you can set an AGO field which contain the same value for all the DGOs.
To simply make transects on a medial axis, use directly the VariableLengthTransect tool.
Parameters¶
Parameter | Description | Type |
---|---|---|
AGO ID field
agofield
|
Field containing AGOs ID.
Used to accelerate the process on huge datasets. If you don't want to use them, you can set an AGO field which contain the same value for all the DGOs.
Default value: ID_AGO
|
Field |
DGO FID field
dgofidfield
|
Field containing DGOs ID.
Default value: DGO_FID
|
Field |
DGOs polygons
dgos
|
DGOs polygons made from the Disaggregate Polygon tool. | Polygon |
Medial axis
medialaxis
|
Medial axis of te polygon you want to compute the width. If it's not available, use the Valley centerline tool to create it. | LineString |
Polygon
polygon
|
Polygon you want to compute the width (ex. active channel, ...) | Polygon |
Sampling interval
samplinginterval
|
Interval between two width measures on the medial axis.
Default value: 20
|
Number |
Transects
Transects
|
Output transects created. | LineString |
DGOs with width data
DGOs with width data
|
Output DGOs with mean width of the input polygon calculated. | Polygon |