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

Message: 2
Date: Tue, 10 Feb 2009 11:40:15 -0800
From: "Moskovitz, Bob" <Bob.Moskovitz@conservation.ca.gov>
Subject: [GRASS-user] Tips on how to delete areas with no categories?
To: "Grass-User (E-mail)" <grass-user@lists.osgeo.org>
Message-ID:
  <A73B6E7A4503E948826CE81A65AF5FECA2A54E@docexs1.ad.consrv.ca.gov>
Content-Type: text/plain; charset="iso-8859-1"

Hello Grass-Users,

After using r.to.vect, I have areas with no categories. These areas appear to be holes. This is what the map look like with info from v.what: http://bobdebm.googlepages.com/example_area.png/example_area-full;init:.png

How do I remove these areas?

Thanks in advance.

Bob

Bob Moskovitz
Research Analyst I
Seismic Hazard Zonation Project
California Geological Survey
http://www.conservation.ca.gov/cgs/shzp&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
  

Bob,

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

Cheers,
RC

Richard,

I really do need more education on the grass vector side of things. Thanks for the clue...I got it figured out :slight_smile:

Bob

-----Original Message-----
From: grass-user-bounces@lists.osgeo.org
[mailto:grass-user-bounces@lists.osgeo.org]On Behalf Of
Richard Chirgwin
Sent: Tuesday, February 10, 2009 2:41 PM
To: grass-user@lists.osgeo.org
Subject: [GRASS-user] Tips on how to delete areas with no categories?

> Message: 2
> Date: Tue, 10 Feb 2009 11:40:15 -0800
> From: "Moskovitz, Bob" <Bob.Moskovitz@conservation.ca.gov>
> Subject: [GRASS-user] Tips on how to delete areas with no
categories?
> To: "Grass-User (E-mail)" <grass-user@lists.osgeo.org>
> Message-ID:
>
<A73B6E7A4503E948826CE81A65AF5FECA2A54E@docexs1.ad.consrv.ca.gov>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello Grass-Users,
>
> After using r.to.vect, I have areas with no categories.
These areas appear to be holes. This is what the map look
like with info from v.what:
http://bobdebm.googlepages.com/example_area.png/example_area-f

ull;init:.png

How do I remove these areas?

Thanks in advance.

Bob

Bob Moskovitz
Research Analyst I
Seismic Hazard Zonation Project
California Geological Survey
http://www.conservation.ca.gov/cgs/shzp&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
  

Bob,

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

Cheers,
RC
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

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