2.2.24. Meter grid

../../_images/grids_multi.png

Pic. 2.13. A combination of generated grids

The tool generates a grid within the boundaries of features of a vector layer or a bounding box. The grid size is set in meters. Features can be anywhere in the world.

Inputs:

  • Cell size in meters;

  • Mode: points or rect (squares);

  • Algorithm for cropping the grid along the feature borders: all (leave all the squares in extent), touches (leave all the squares touching features), intersection (crop the squares along the borders of the features);

  • GeoPackage file with polygons or multipolygons. Calculation time depends on the number of nodes in the boundary layer;

  • Extent. Instead of uploading a layer, you can set a bounding box. Draw a custom rectangle on the map below. The Extent field will be filled with the numeric value that you can adjust manually.

Resulting grids with different settings:

../../_images/grid_rect_all.png

Pic. 2.14. Squares - all

../../_images/grid_rect_touches.png

Pic. 2.15. Squares - touches

../../_images/grid_rect_intersection.png

Pic. 2.16. Squares - intersection

../../_images/grid_point_all.png

Pic. 2.17. Points - all

../../_images/grid_point_intersection.png

Pic. 2.18. Points - intersection

Launch tool: https://toolbox.nextgis.com/operation/grid

Try it out using our sample:

Download input dataset to test the instrument. Step-by-step instructions included.

Get the output to additionally check the results.