[GRASS-dev] [GRASS GIS] #1001: Add option to replace (instead of
just add) cats with v.category
GRASS GIS
trac at osgeo.org
Sun Mar 14 01:39:51 EST 2010
#1001: Add option to replace (instead of just add) cats with v.category
---------------------------------------------+------------------------------
Reporter: needelsd | Owner: grass-dev at lists.osgeo.org
Type: enhancement | Status: new
Priority: normal | Milestone: 6.4.0
Component: Vector | Version: 6.4.0 RCs
Keywords: v.category add del replace cats | Platform: Unspecified
Cpu: Unspecified |
---------------------------------------------+------------------------------
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).
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1001>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list