[GRASS-dev] Area weighted rasterization with v.to.rast?

Markus Neteler neteler at osgeo.org
Thu Nov 8 02:29:49 PST 2012


Hi all,

for a project I would be in need to rasterize vector polygons with
attribute value to the raster model where the resulting raster cells
carry the weighted portion of the original attribute according to
the area covered.

Example:
A square vector polygon with value 10.000 falls onto four raster
cells. The resulting cells should each carry the value 2.500.

I wonder if the mechanism used in r.resamp.stats for -w:
    Weight according to area
could be implemented in v.to.rast to achieve this goal.

thanks
Markus


More information about the grass-dev mailing list