3

I would like to receive the polygon of a convex hull of a group of points in a layer, grouped by its name. Exactly the same result as the "minimum bounding geometry" tool does.

This needs to be done by expressions in Symbol Geometry Generator in QGIS 3.22.

I tried this expression ...

convex_hull(collect($geometry,group_by:="name")))
1

1 Answer 1

4

oriented_bbox function does what "minimum bounding geometry" tool does. It returns "minimum oriented bounding rectangle" polygon.

oriented_bbox(convex_hull(collect($geometry,group_by:="name"))))

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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