Thursday, 9 November 2017

Create grid where points is centroid? QGIS


I want a grid around my points(100 x 100 m), where points are center. Creating a grid from


Vector --> Research Tools --> Vector Grid

creates grid, but not centered around my points.


How do I do this?



Answer



This way it should work:




  1. Reproject your points to a projected CRS with metres as units (if not already done)

  2. Draw buffers with a radius of 50m (half of the grid size) around them with Vector -> Geoprocessing Tools -> buffer(s)

  3. Create the vector grid with the extent of the buffer layer and 100m spacing


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...