Converting points to lines to polygons and back – QGIS
Sometimes your data is vector formatted (point, line, or polygon), but it is not the right kind of vector for a particular type of analysis. Or perhaps you need to split a vector in a particular way to facilitate some analysis or cartography. Thankfully, all vector formats are related, lines are two or more connected points, polygons are lines whose first and last point are the same, multipolygons are two or more polygons for the same record, and rings are nested polygons where the inner polygon outlines an area to be excluded. This recipe covers how to convert between the different vector types using built-in QGIS methods.
Getting ready
To convert points to lines or polygons, you will need ...
Get QGIS: Becoming a GIS Power User now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.