Split by interval#
Algorithm ID: hedgetools:splitbyinterval
This tool splits polygons and lines at a specified distance interval. New nodes are created to match the new line extremities. These nodes have the following field values:
Degree |
Node type |
Description |
|---|---|---|
2 |
L |
Node at the junction of two lines |
The primary key (PK) and foreign key (FK) fields in the related layers are automatically updated to reflect the new topology.

Remark
When reaching an extremity of the input line geometry, if the remaining segment is shorter than the specified interval, no additional split is performed.
Warning
The algorithm checks whether the polygon–arc relationship is one-to-one at the end of the process. A warning is raised for polygons that contain either no arc or multiple arcs.
Proceeding without correcting or removing these errors may cause issues in following steps.
When correcting these issues, make sure to update all primary key (PK) and foreign key (FK) fields across the related layers, or run the Update Link algorithm afterwards.
Label |
Name |
Type |
Description |
|---|---|---|---|
Input polygon layer |
|
[vector: polygon] |
Polygon vector layer to be split. |
Input arc layer |
|
[vector: line] |
Line vector layer representing the median axis of the polygons. |
Input node layer |
|
[vector: point] |
Point vector layer representing line junctions and extremities. |
Node type field |
|
[field: string] |
Field storing the node type. |
Hedge length (meters) |
|
[numeric: double] |
Interval used to split the hedges along their length. |
Output polygon layer |
|
[vector: polygon] |
Output split polygon vector layer. |
Output arc layer |
|
[vector: line] |
Output split line vector layer. |
Output node layer |
|
[vector: point] |
Output point vector layer. |
Outputs#
Label |
Name |
Type |
Description |
|---|---|---|---|
Output polygon layer |
|
[vector: polygon] |
Split polygon vector layer with updated |
Output arc layer |
|
[vector: line] |
Split line vector layer with updated |
Output node layer |
|
[vector: point] |
Point vector layer containing nodes of degree 2 where the split occurred. |