2.2.6. Central lines of polygons

This instrument creates centerlines for polygons. It is helpful for transforming roads or rivers digitized as polygons into lines.

../../_images/centerline_result_en.png

Pic. 2.3. Input polygon layer and resulting line layer

Inputs:

  • Polygon vector layer in a GDAL-supported format, e.g. GeoPackage, GeoJSON, MapInfo TAB, ESRI Shapefile (the latter two should be in ZIP archive).

Outputs:

  • Line vector layer in GeoPackage.

Launch tool: https://toolbox.nextgis.com/t/centerline

Try it out using our sample:

Download input dataset to test the instrument. Step-by-step instructions included.

Get the output to additionally check the results.