Plugin icon

Road Centerline Extractor

Plugin ID: 5189

Extracts clean, topologically segmented centerlines from road, river, or other corridor-shaped polygons.

(18) votes 
Download latest
Versions JSON
Latest version

Version 2.0.0 generalizes this plugin beyond roads and moves it from an interactive dialog to a QGIS Processing algorithm. It converts corridor-shaped polygons (roads, rivers, or similar elongated networks) into centerlines via Voronoi-based skeleton extraction, available from the Processing Toolbox, in batch mode, inside Graphical Models, and from the Python console. Optional processing steps, each independently configurable: segmentation at T-junctions and intersections (splitting the output into individual features between nodes), pruning of short spurious branches below a minimum length, and exclusion of sections narrower than a minimum width. Output length is reported per feature in the unit of choice (m, km, mi, ft). Requires the shapely, networkx and centerline Python packages.

Version QGIS >= QGIS <= Date
2.0.0 - 3.28.0 3.99.0 407 Robertog11 2026-09-23T15:51:14.580818+00:00
1.1.0 - 3.0.0 3.99.0 3576 Robertog11 2026-05-14T14:35:54.779557+00:00
1.0.0 - 3.0.0 3.99.0 256 Robertog11 2026-05-12T12:03:42.423722+00:00