QGIS Grid Creation – Creating Grid Constrained Within Polygon in QGIS

qgisvector-grid

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, I need the grid to only be displayed inside the polygon's boundaries.

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

Best Answer

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.