[GRASS-user] Tips on how to delete areas with no categories?

Hamish hamish_b at yahoo.com
Tue Feb 10 18:52:00 EST 2009


Bob Moskovitz wrote:
> > After using r.to.vect, I have areas with no categories.  These areas
> > appear to be holes.
....
> > How do I remove these areas?

Richard Chirgwin wrote:
> What if you use v.category to attach cats to the empty areas, and then
> use v.edit to delete the appropriate category range?

(or v.dissolve instead of v.edit)



another old trick:

'v.extract cat=1-99999' will only extract actual data, ie will skip holes.


Hamish



      



More information about the grass-user mailing list