Sunday, 4 October 2015

Creating grid constrained within polygon in QGIS?



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?



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.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...