vector map problems

Ray Drapek writes:

     I'm having problems with vector files (again). I've been running GRASS
4.0 and was doing a lot of editing on vector files created in v.digit. I am
trying to patch two such vector maps together using v.patch. Both files have
attributes associated with areas (area labels) and I want those attributes
to be in the new combined map. However, the attributes for one of the maps
is never to be found in the combined map. I suspect that there is a
corruption of one of the files associated with this vector map. Earlier

I reported this bug to the grass-bug list some months ago, and I believe
Olga tried to fix it (is this in the latest update?).

I did a v.clean on this file. After running v.clean all of the attributes
disappeared from the file. I'm not totally sure that v.clean is what
removed all of the attributes, but it is the only process I can recall
performining on that vector file at the time that all of the attributes
disappeared. I had the system administrator go into the archives and retrieve
the old file (pre-v.clean) with its attributes. We copied two archived files
back, the dig file and the dig_plus file. I examined the new-old map both
with d.vect and with v.digit and it looked to be in good shape. All of the
boundaries and all of the attributes were still there, but it is this new-old
vector file that never passes its attributes on to the "daughter" file when
patched with another vector file.

A quick & dirty solution to the problem is this: copy the dig_att files
of the original maps to some harmless location, run v.patch, then cat the
original dig_att files to the name of the new map and run v.support

Philip Verhagen

--

      S t i c h t i n g R A A P

    Regionaal Archeologisch Archiverings Projekt

adress: Plantage Muidergracht 14
          1018 TV Amsterdam
           THE NETHERLANDS
phone: (31) 20 525 5835
fax: (31) 20 525 5834
e-mail: motte@hacktic.nl