1

I created vector grids in QGIS of size 2*2km.

Now I have to add few more grids of the same size to these existing grids. Is this possible in QGIS?

5
  • Wouldnt it be easier to recreate the entire grid? Or do you have data stored in the grid which you want to keep?
    – Bera
    Commented Sep 23, 2020 at 10:12
  • I have data stored in the grids, making new grids entirely will create difficulty for my analysis.
    – ret24
    Commented Sep 23, 2020 at 10:15
  • Is your grid in lines or polygons? Commented Sep 23, 2020 at 10:38
  • @TeddyTedTed polygons
    – ret24
    Commented Sep 23, 2020 at 10:46
  • Try creating the new grid as a line geometry, then in the processing toolbox use the 'Split with lines' tool use use the new line grid to divide up the original polygon grid. Commented Sep 23, 2020 at 10:49

1 Answer 1

2

As an idea you can try using the "Translate" geoalgorithm from the QGIS's Toolbox.

'Offset distance (x-axis)' and 'Offset distance (y-axis)' will be a combination of two values from a set of (len, 0, -len) values, where len is the a length/width of your grid layer.

('len', 0)
('len', '-len')
('len', 'len')
(0, 'len')
(0, '-len')
('-len', 'len')
('-len', 0)
('-len', '-len')

So, it is like a Moore neighborhood, where there is a central cell and there are eight cells which surround it.

Here is an example:

enter image description here


References:

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.