No subject

Susan Stitt nps!susan at cerl.cecer.army.mil
Tue Aug 24 09:01:34 EDT 1993


Subject: Re: grass: grid saved as raster. 2

> Thanks for your answer. v.mkgrid works fine but v.to.rast produces a
> raster
> with all cells equal to 0.
> Any idea of why?
> Agus
> 

If you attribute your grid boxes, then the areas will be rasterized by
v.to.rast with the assigned values.  This can be done in v.digit
on a manual basis.  Alternatively, since it is a standard grid of some
sort, you could likely create a dig_att file either manually or via a
script, etc. since the area attributes would be a standard distance 
apart in either direction.  

Once the dig_att file is created, you would need to run v.support in order
for grass to recognize the attachment of the attributes to the areas, then
v.to.rast.

Susan Stitt  National Park Service-GIS Division       susan at gisd.nps.gov



More information about the grass-user mailing list