Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In QGIS I have created an irregularly shaped polygon.

I can create a grid based on the maximum extents of the polygon via Vector>Research Tools>Vector Grid.

However, what if I need the grid to only be displayed inside the polygon's boundaries?

How can I create a grid within a polygon in QGIS?

share|improve this question
up vote 4 down vote accepted

Create the grid layer and then clip it with the polygon? Vector -> Geoprocessing Tools -> Clip. It would probably be best to create your grid with lines, rather than polygons. N.

share|improve this answer
thanks nhopton. In the end I had to use the intersect tool rather than clip to get the result I needed. But thanks for pointing me in the right direction – Andy Harvey Aug 7 '12 at 18:35
That's very odd, did "clip" not work? It should have done. N. – nhopton Aug 7 '12 at 19:19
Yes, Vector\Geoprocessing Tools\Intersect worked for me. – jhza Oct 23 '13 at 14:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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