[GRASS-web] Rasterize method

Markus Neteler neteler at osgeo.org
Wed Dec 31 08:41:35 PST 2014


On Tue, Oct 7, 2014 at 7:55 PM, mcarrilho <mcarrilho at isegi.unl.pt> wrote:
> Hello,
> My name is Miguel Carrilho i am working on a project for my theses at ISEGI,
> Nova University of Lisbon Portugal.
> i am using the too v.to.rast.attribute to rasterize vector layers by
> attribute, and it works perfectly, although i do not find in the
> documentation the method used to assign the attribute value to the cell. i
> would like it to be by the biggest area (majority) which i think it's not
> happening, since i verified in the output raster against the original
> shapefile.
> how can i do this using GRASS?
> or
> where can i find the method used? if i can find it can i change it to be by
> majority?

Note sure if this is what you need but here as a suggestion:

v.area.weigh - Rasterize vector areas using weights

You can install it in GRASS GIS 7 with

g.extension v.area.weigh

or the graphical extension manager.


More information about the grass-web mailing list