Laserfiche WebLink
v.to.rast <main> GRASS Reference Manual <main> v.to.rast <br /> NAME <br /> v.to.rast - Converts a binary GRASS vector map layer into a <br /> GRASS raster map layer. <br /> (GRASS Vector Program) <br /> SYNOPSIS <br /> v.to.rast <br /> v.to.rast help <br /> v.to.rast input=name output=name <br /> DESCRIPTION <br /> v.to.rast transforms (binary) GRASS vector map layers into <br /> GRASS raster map layer format. Most GRASS analysis programs <br /> operate on raster data. <br /> Parameters: <br /> input=name Name of the binary vector map layer to be <br /> converted. <br /> output=name Name to be assigned to the raster map <br /> layer output. <br /> The user can run the program non-interactively by specifying <br /> the names of a vector input file and raster output file on <br /> the command line, using the form: <br /> v.to.rast input=name output=name <br /> If the user instead types simply v.to.rast on the command <br /> line, the program will prompt the user to enter these names. <br /> NOTES <br /> v.to.rast will only affect data in areas lying inside the <br /> boundaries of the current geographic region. Before running <br /> v.to.rast, the user should therefore ensure that the current <br /> geographic region is correctly set and that the region <br /> resolution is at the desired level; the program may <br /> otherwise create an empty raster map layer. An empty raster <br /> map layer will also be created if the vector map layer has <br /> not been assigned category/attribute labels (e.g., through <br /> use of the v.digit program). <br /> The v.to.rast program creates two files: a raster map <br /> layer, and a history file. The GRASS program r.support must <br /> be run to create additional support files for the raster <br /> map. <br /> Additional problems sometimes lead to the creation of empty <br /> raster map layers. Unfortunately, error messages explaining <br /> these phenomena do not yet exist. <br /> SEE ALSO <br /> g.region, r.support, v.digit, v.import, v.support <br /> AUTHORS <br /> Michael Shapiro, U.S. Army Construction Engineering <br /> Research Laboratory <br />Page 25 <br />01/03/97 2.03-02 - Lange <br />