[GRASSLIST:5860] Re: vector point cropping
Hamish
hamish_nospam at yahoo.com
Sat Feb 19 23:36:03 EST 2005
> GRASS60, I tried cropping
> area vector with points but failed.
> in GRASS5.7 it was OK.
more details are needed. Exact commands? Exact output? Can you reproduce
it with the spearfish57 data set?
> > I have a points-vector & I want to cut out all
> > points that fall within a polygon.
> >
> > In GRASS 5.4 you could use s.mask to do this.
> >
> >
> > In GRASS 5.7, v.select looks like it would work if
> > there was a "operator=not" option [for v.select] or if v.overlay
> > worked for points.
> >
> > Any ideas?
> >
> > Hamish
Solution:
[v.hull +] v.in.region + 'v.overlay operator=not' to make a negative
mask of a the polygon, and then 'v.select op=overlap' to only keep the
points in the negative-mask.
Hamish
More information about the grass-user
mailing list