## NAME

v.mkgrid

## DESCRIPTION

v.mkgrid will create a vector map representation of a regular coordinate grid. Both point and area vector grids can be created.

## NOTES

Grid points created with the -p flag will be placed at the center of each grid cell, not at the grid line nodes.

This is NOT to be used to generate a vector map of USGS quadrangles, because USGS quads are not exact rectangles.

## EXAMPLES

Make a 4x3 grid, cells 20km a side, with lower left corner at 2716500,6447000:

    v.mkgrid map=coro_grid grid=4,3 position=coor coor=2716500,6447000 box=20000,20000

Make a 10x12 lat/lon grid, cells 2 arc-min a side, with lower left corner at 167deg 52min east, 47deg 6min south. For use with e.g. QGIS you can then pull this grid into a projected location with v.proj before exporting as a Shapefile with v.out.ogr (within GRASS you could just use d.grid -w from the projected location for the same effect).

    v.mkgrid map=p2min_grid grid=10,12 position=coor coor=167:52E,47:06S box=0:02,0:02

## SEE ALSO

v.patch, d.grid

## AUTHOR

Michael Higgins, U.S.Army Construction Engineering Research Laboratory

Update for new vectors Radim Blazek 10/2004

Last changed: $Date: 2010-01-17 05:38:59 +0100 (Sun, 17 Jan 2010) $

Main index - vector index - Full index

© 2003-2010 GRASS Development Team