Opened 14 years ago

Last modified 8 years ago

#1001 new enhancement

Add option to replace (instead of just add) cats with v.category — at Version 2

Reported by: needelsd Owned by: grass-dev@…
Priority: normal Milestone: 6.4.6
Component: Vector Version: 6.4.0 RCs
Keywords: v.category add del replace cats Cc:
CPU: Unspecified Platform: Unspecified

Description (last modified by martinl)

Add an option to v.category option=replace that overwrites the cat values in a vector instead of only adding a cat to objects that do not already have a cat.

Equivalent to

v.category input=input_vector output=tmp option=del
v.category input=tmp output=output_vector option=add
g.remove vect=tmp

Personally, I would also appreciate a flag [-r]?? or other mechanism to overwrite cats in the original vector (allow output=input).

Change History (2)

comment:1 by hamish, 14 years ago

aka v.edit?

comment:2 by martinl, 14 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.