[GRASS-user] r.to.vect Produces Too Many Areas

Rich Shepard rshepard at appl-ecosys.com
Tue Feb 23 09:37:25 EST 2010


On Tue, 23 Feb 2010, Micha Silver wrote:

> What I do in these cases is run v.clean with the rmarea option. I choose a
> threshold about 5X the cell resolution to get rid of any small areas like
> these. I think it comes from the way r.to.vect works (others with more
> knowledge might correct me). Any cell which touchs the contiguous area
> only at one corner is considered a separate polygon, so you end up with
> some square vector areas of size nsresXewres.

Micha,

   I'd not used v.clean before so this approach did not occur to me. Works
like a charm. Now I have a new tool to apply when the situation comes up
again.

Toda raba,

Rich


More information about the grass-user mailing list