[GRASSLIST:3386] Re: Removing boundaries on vector maps

Hamish hamish_nospam at yahoo.com
Tue May 11 01:14:14 EDT 2004

> > I'm in the same predicament.  I've got a series of 7.5min DLGs
> > (hydro, transpostation, boundaries) that I have v.patch'ed together
> > and am now looking for a way to remove the duplicate border vectors.
> >
> > According to the 5.7 manual entry for v.patch:
> > "Any vectors that are duplicated among the maps being patched
> > together (e.g., border lines) will have to be edited or removed
> > after v.patch is run.  Such editing can be done automatically using
> > v.clean(tool=svtlx). "I received undesirable results when running
> > v.clean tool=rmdupl.  After running the command many boundary
> > vectors remained and several vctors depicting actual features were
> > removed. It may be that if the boundary lines were not set as a
> > particular category they may have to be removed manualy using
> > v.digit.
> I have a number of vector maps, each representing stream paths over a
> USGS  7.5' quad. The boundaries of the quads are present on each map.
> Is there a scriptable way to remove those boundaries before or after
> patching the 

[GRASS 5.7]
This isn't a proper solution, but you might try some combination of:

g.region vect=...
v.select (or v.overlay) to get rid of common features (ie the border)


More information about the grass-user mailing list