[GRASS-dev] Re: [GRASS-user] inaccuracy in v.to.rast results
tutey at o2.pl
Thu Dec 21 18:56:33 CET 2006
Dylan Beaudette wrote:
> On Tuesday 19 December 2006 08:24, Yu Zhang wrote:
>> I wonder if anyone can provide a reference to the
>> algorithm used in v.to.rast. I found mismatches
>> between GRASS raster with Arcview one that were
>> derived from the same polygon layer. v.to.rast in
>> GRASS tends to underestimate the number of cells
>> within certain polygons
> Do you have some images which demonstrate the comparison ?
Sorry for jumping in, but it might be related.
I don't know for polygons, but I have similar experience with lines -
not enough cells are rasterised compared to what you would expect -
line's start and end happen to be skipped. Not mentioning that
v.to.rast tries to kindoff approximate the line's shape than to detect
which cells the line actually goes through.
See bug report:
The examples mentioned:
r.thin doesn't help:
BTW, two other long standing v.to.rast bugs:
(solution by Glynn is there, can someone apply it please?)
More information about the grass-dev