[GRASS-user] How update vector layers?
bain at toraval.fr
Sat Mar 7 15:00:21 EST 2009
If you are sure category values don't overlap, then you can use the -a
flag. But in this case I would NOT give both arguments -a and -e;
i.e. given that the sugarcane map already has a related table, the
features from sugarcane_update will populate the table with new rows (it
is the reason why cat numbers, which tag geometrical features, should be
distinct from previous rows in the sugarcane table)...
Else you can try to create a new map :
v.patch -e in=sugarcane,sugarcane_update out=merge,
If you suspect duplicate objets (e.g. adjacent areas boundaries), don't
forget to run v.clean with the tool rmdupl.
Le samedi 07 mars 2009 à 16:03 -0300, Thybério Luna Freire a écrit :
> Hi Vincent,
> I've tried the following command:
> v.patch -ae input=sugarcane,sugarcane_update output=sugarcane --o
> it returns:
> ERROR: Output vector map <sugarcane> is used as input
> I'm using the -e and -a flags and overwriting the old vector layer,
> but the message is the same.
> I'm doing anything wrong?
> Both vector maps have exactly the same columns and there aren't
> identical attributes:
> Cat (integer)
> grass-user mailing list
> grass-user at lists.osgeo.org
More information about the grass-user