1

If I have a points file where the points share common attributes, what's the best way to draw a convex hull around those common points using QGIS?

2

First, you have to select the points that share a common attribute, either manually or with the "Select by expression" icon in the attribute table window (in that case, use the expression "yourfield" = X, then click on "Select"):

enter image description here

Then, use Vector > Geoprocessing tools > Convex hull(s) and check the "Use only selected features" option:

enter image description here

This will create the convex hull you want. You have to repeat this process for each different value of the field.

  • What if there are many, many different values in the field? To the point where it would not be realistic to repeat the process as such – Jugal Patel Sep 7 '16 at 18:41
  • 1
    Then you'll have to use QGIS modeler or a Python script. You should also edit your question to mention this issue. – ArMoraer Sep 7 '16 at 18:50
  • thanks, fixed! also unfortunately I've never used the modeler or cobbled together scripts before, any tips on how I can put this together? – Jugal Patel Sep 7 '16 at 21:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.