[GRASS-user] r.to.vect and then v.clean using tool=rmarea
createspolygons instead of holes.
Moskovitz, Bob
Bob.Moskovitz at conservation.ca.gov
Fri Dec 12 13:29:02 EST 2008
Thank you Hamish...your set of commands worked great!
It still bothers me that r.to.vect would produce invalid topology. Btw, I also tried to use v.generalize but my vectyor seem to lose its attribute table.
> -----Original Message-----
> From: Hamish [mailto:hamish_b at yahoo.com]
> Sent: Friday, December 12, 2008 1:17 AM
> To: Alex Mandel; Moskovitz, Bob
> Cc: Grass-User (E-mail)
> Subject: RE: [GRASS-user] r.to.vect and then v.clean using tool=rmarea
> createspolygons instead of holes.
>
>
> Bob Moskovitz wrote:
> > I followed your suggestion, but I'm still getting the
> > same problem. It seems strange that v.to.rast would create
> > a vector file that has flawed topology. Do you know of any
> > alternative to v.clean with rmarea?
>
> v.db.addcol area
> v.to.db option=area
> v.extract where="area > 2800"
> ?
>
>
> > Btw, I also tried to use v.generalize with a very small
> > threshold and then v.clean. This method works for me.
>
>
> Hamish
>
>
>
>
>
>
More information about the grass-user
mailing list