[GRASS-dev] Re: [GRASS GIS] #831: v.category options sum, del,
and add do nothing
GRASS GIS
trac at osgeo.org
Sun Dec 6 11:09:00 EST 2009
#831: v.category options sum, del, and add do nothing
--------------------------+-------------------------------------------------
Reporter: isaacullah | Owner: martinl
Type: enhancement | Status: new
Priority: major | Milestone: 7.0.0
Component: Vector | Version: svn-develbranch6
Resolution: | Keywords: v.category
Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Comment (by cmbarton):
v.to.db won't work for this. If a cat value was originally 3 and has been
changed to 5, the link with the corresponding attribute record will be
lost, because the attribute record still has cat=3. With this link gone,
there is no way for v.to.db to know which is the correct record to upload
the new cat value to. Example with new cat numbers incremented by 2 using
v.category (this needs to be seen in the bug tracker for the formatting to
make any sense).
----
'monospace'
{{{
OLD NEW
vect db vect db
1-----1 2--\ 1
2-----2 4-\ \--2
3-----3 6 \ 3
4-----4 8 \--4
}}}
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/831#comment:7>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list