Opened 15 years ago
Last modified 9 years ago
#1001 new enhancement
Add option to replace (instead of just add) cats with v.category — at Initial Version
Reported by: | needelsd | Owned by: | |
---|---|---|---|
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
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).
Note:
See TracTickets
for help on using tickets.