I have a number of buffered points (some where polygons intersect & are dissolved. I'd like to create regular spaced points grid around EACH polygon -- not ALL polygons.

When I do Vector -> Research Tools -> Regular Points --- I have to choose a layer as an Input Boundary, but it doesn't seem to loop through each shape to create a GRID just for that shape, and instead creates one large grid around ALL shapes. The end result:

enter image description here

How can I get a point grid for EACH individual shape vs ALL?


Use the "Data Management > Split Vector Layer" tool to split your buffer layer into individual layers, then run the Regular Points tool on each.

  • Darren - how can I automate that - I have hundreds of thousands of points/buffers. – NikG Oct 5 '12 at 16:56
  • this seems to answer the question for a limited number of buffers, but needs to be automated. If anyone has a solution, please let me know. – NikG Oct 6 '12 at 17:38
  • I'm not sure exactly how to automate this. Perhaps you could 'loop' it somehow in Python? Maybe someone else can help out with a pythonic solution? – Darren Cope Oct 11 '12 at 16:52

You want only the points that lie within the polygons? If so, clip the points layer with the polygon layer: Vector -> Geoprocessing Tools -> Clip.

If I've understood the question correctly. N.

  • No, sorry this is not what I'm asking. My objective is to have the grid created around each polygon -- I'm OK with it being square (around 1 circle) or rectangular (around a number of dissolved circles) -- but not one giant rectangle grid. – NikG Oct 5 '12 at 15:03
  • 1
    So you want multiple grid datasets, one for each input polygon? – alphabetasoup Jan 31 '15 at 9:07

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.