.TH v.mkgrid 1grass "" "GRASS 6.4.4" "Grass User's Manual" .SH NAME \fI\fBv.mkgrid\fR\fR - Creates a GRASS vector map of a user-defined grid. .SH KEYWORDS vector, geometry .SH SYNOPSIS \fBv.mkgrid\fR .br \fBv.mkgrid help\fR .br \fBv.mkgrid\fR [\-\fBpq\fR] \fBmap\fR=\fIname\fR \fBgrid\fR=\fIrows,columns\fR [\fBposition\fR=\fIstring\fR] [\fBcoor\fR=\fIx,y\fR] [\fBbox\fR=\fIwidth,height\fR] [\fBangle\fR=\fIfloat\fR] [\fBbreaks\fR=\fIinteger\fR] [\-\-\fBoverwrite\fR] [\-\-\fBverbose\fR] [\-\-\fBquiet\fR] .SS Flags: .IP "\fB\-p\fR" 4m .br Create grid of points instead of areas and centroids .IP "\fB\-q\fR" 4m .br Quiet; No chatter .IP "\fB\-\-overwrite\fR" 4m .br Allow output files to overwrite existing files .IP "\fB\-\-verbose\fR" 4m .br Verbose module output .IP "\fB\-\-quiet\fR" 4m .br Quiet module output .PP .SS Parameters: .IP "\fBmap\fR=\fIname\fR" 4m .br Name for output vector map .IP "\fBgrid\fR=\fIrows,columns\fR" 4m .br Number of rows and columns in grid .IP "\fBposition\fR=\fIstring\fR" 4m .br Where to place the grid .br Options: \fIregion,coor\fR .br Default: \fIregion\fR .br \fBregion\fR: current region .br \fBcoor\fR: use 'coor' and 'box' options .IP "\fBcoor\fR=\fIx,y\fR" 4m .br Lower left easting and northing coordinates of map .IP "\fBbox\fR=\fIwidth,height\fR" 4m .br Width and height of boxes in grid .IP "\fBangle\fR=\fIfloat\fR" 4m .br Angle of rotation (in degrees counter-clockwise) .br Default: \fI0\fR .IP "\fBbreaks\fR=\fIinteger\fR" 4m .br Number of horizontal vertex points per grid cell .br Options: \fI3-30\fR .br Default: \fI3\fR .PP .SH DESCRIPTION \fIv.mkgrid\fR will create a vector map representation of a regular coordinate grid. Both point and area vector grids can be created. .SH NOTES Grid points created with the \fB-p\fR flag will be placed at the \fIcenter\fR of each grid cell, not at the grid line nodes. .PP This is NOT to be used to generate a vector map of USGS quadrangles, because USGS quads are not exact rectangles. .SH EXAMPLES Make a 4x3 grid, cells 20km a side, with lower left corner at 2716500,6447000: \fC .DS .br v.mkgrid map=coro_grid grid=4,3 position=coor coor=2716500,6447000 box=20000,20000 .br .DE \fR .PP 3) 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 \fIv.proj\fR before exporting as a Shapefile with \fIv.out.ogr\fR (within GRASS you could just use \fId.grid \-w\fR from the projected location for the same effect): \fC .DS .br v.mkgrid map=p2min_grid grid=10,12 position=coor coor=167:52E,47:06S box=0:02,0:02 .br .DE \fR .SH SEE ALSO \fI v.patch, d.grid \fR .SH AUTHORS Michael Higgins, U.S.Army Construction Engineering Research Laboratory .PP Update for new vectors Radim Blazek 10/2004 .PP \fILast changed: $Date: 2014-05-16 19:12:35 +0200 (Fri, 16 May 2014) $\fR .PP Full index .PP © 2003-2014 GRASS Development Team