Simplify arc#
Algorithm ID: hedgetools:simplifyarc
The median axis generated by the topological arc may not meet user requirements. This tool offers simplification using the Douglas-Peucker algorithm constrained by the enclosing polygon. This allows for the removal of median axis irregularities while ensuring its inclusion within the hedge extent. However, the centrality of the median axis is lost. This treatment can be useful for more reliably estimating hedge length.
Explanation
The initial image shows the median axis. As the shift tolerance increases, the median axis becomes less irregular.
Parameters#
Label |
Name |
Type |
Description |
|---|---|---|---|
Input arc layer |
|
[vector: line] |
Line vector layer to be simplified. |
Input polygon layer |
|
[vector: polygon] |
Polygon vector layer enclosing the line layer. |
Shift tolerance (meters) |
|
[numeric: double] |
Maximum allowed shift of the line during simplification. |
Output simplified layer |
|
[vector: line] |
Output line vector layer. |
Outputs#
Label |
Name |
Type |
Description |
|---|---|---|---|
Output simplified layer |
|
[vector: line] |
Simplified line vector layer. In some cases, the line cannot be simplified and the original geometry is returned. |