GRASS>How to undelete vector lines?

Markus Neteler neteler at geog.uni-hannover.de
Sat Jan 23 06:51:14 EST 1999


> This takes care of _half_ the problem, the attributes. To recover the 
> actual geometry, you must run v.out.ascii to produce an ASCII version of 
> the file. Edit the file the same way that Brian notes below, i.e., change 
> lower case "a" and "l" to upper case. Use v.in.ascii to re-import the 
> file. Run v.support when you are finished. Note that this restores _all_ 
> deleted features.
> 	-Malcolm

So I feel that an "undelete" button would be nice in v.digit/v.digspline.
Then selective undelete would be much easier. 
I will suggest that at Baylor for GRASS 5.0. We would need a button/key 
to display deleted vectors and a toggle button to toggle the status. I
hope that is not too difficult to add.

Markus


> On Fri, 22 Jan 1999, Brian Culpepper wrote:
> 
> > 
> > Markus,
> > 	To undelete lines (or areas) that have been deleted but NOT
> > v.clean(ed), do the following:
> > 
> > cd $LOCATION/dig_att
> > vi TheVectorFile.InQuestion
> > (replace all of the lower case characters (either a's or l's) along
> > the left margin with the UPPER case equivalent... (eg. A or L)..  The
> > global replace option in VI works great for this...
> > 
> >  If memory serves me thats all you need to do..... ;)
> > 
> > Have a good day,
> > 
> > brian culpepper
> > CAST 



More information about the grass-user mailing list