[GRASS-user] Default method of rasterizing in v.to.rast

Markus Neteler neteler at osgeo.org
Thu Feb 26 09:16:10 PST 2015


On Tue, Feb 24, 2015 at 9:19 AM, Markus Metz
<markus.metz.giswork at gmail.com> wrote:
> On Mon, Feb 23, 2015 at 1:05 PM, RichardCooper <richtcooper at hotmail.com> wrote:
>> Hi,
>>
>> I'm trying to determine the default method of rasterization used by v.to
>> rast.
>>
>> In the v.to.rast manual it states in relation to the  -d option, that 'All
>> cells touched by the line will be set, not only those on the render path',
>> but I'm not certain which method is being used by default.
>
> The -d option applies only to lines, default is only those on the
> render path (thin line).
>
>>
>> I came across a paper by  Biagi and Negretti
>> <http://geomatica.como.polimi.it/workbooks/n2/articoli/lbmn.pdf>   * which
>> describes how by default vectors are rasterized in GRASS  5. The latter
>> authors refer to the 'center' method as being the standard GRASS command in
>> 5.0 (p. 4). Is this used in GRASS 7? From my observation (in the Map
>> Display), by default, vector area appear to be rasterized if the center of
>> the grid cell falls within the area boundary?
>
> Yes, or the other way around: a grid cell belongs to the area where
> the grid cell's center falls into.

I've made an attempt to add that to the manual (r64752 and r64753).

markusN


More information about the grass-user mailing list