Saturday 1 June 2019

Converting cluster of Points to Polygons using QGIS?


I have an input point layer that is grouped into clusters, so I want to have each cluster of points converted into polygon.


This question (How to convert a set of points to a polygon based on a specific field in QGIS) seems to come close to what I wanted by it hasn't been answered.


So basically, I need an algorithm in QGIS that will convert each cluster of points (based on attribute field) as seen below into a polygons?


enter image description here


I have tried 'Point2One' plugin and it gave me wrong result seen below...


enter image description here


A copy of my data is found here.



Answer




Convex hull - as mentioned by Kazuhito - is one option, but - depending on the cluster shape - you will get more appropriate polygons using concave hulls, for example implemented in ConcaveHull plugin.


enter image description here


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...