[GRASS-user] Deleting polygons

Markus Neteler neteler at osgeo.org
Thu Feb 19 23:12:08 PST 2015


On Wed, Feb 18, 2015 at 6:04 PM, Andrea Timmermann <timmermann at gmx.at> wrote:
> Hello,
>
> I got some shp files with many polygons. Now I want to delete some of them,
> but I have not been able to do so.

You can use v.extract for that, along with the "-r Reverse selection"
flag if you have a criterion (category, name etc) for itendifying the
polygons you want to remove.

Example:
http://grass.osgeo.org/grass70/manuals/v.extract.html#reverse-extracting-%28behaves-like-selective-vector-objects-deleting%29:

This works in GRASS 6 as well.

Hope this helps,
Markus


More information about the grass-user mailing list