1

Suppose I have a points shapefile with a 'group' attribute, each value of which identifies a number of points (e.g. group=1 identifies points 1,3,6 and group=2 identifies points 2,4,5).

How can I create a buffer for each group that contains all the points belonging to that group?

asked Jul 14, 2018 at 14:45
1
  • It's classic Voronoi proximity polygons task. Create them first and dissolve using group name. Commented Jul 14, 2018 at 21:18

2 Answers 2

3

You could try using this in the geometry generator in the layer properties. (Change the Simple Fill into the geometry generator)

Case
when "group" = 1 then buffer($geometry,0.25)
when "group" = 2 then buffer($geometry,0.5)
else buffer($geometry,0)
End

This should create buffers depending on your group type. Below you have a pictures of layer properties window to show you how to change to geometry generator, and the resulting buffers

Properties of Layer Image

Result

answered Jul 16, 2018 at 7:39
2

One possibility is Buffer vectors tool in (Processing Toolbox | GDAL | Vector geoprocessing), which has Dissolve by attribute option.

answered Jul 14, 2018 at 15:28

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.