This topic needs a title

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@gisd.nps.gov