[GRASS-user] v.edit tool=delete
    Markus Metz 
    markus.metz.giswork at googlemail.com
       
    Fri Jan 20 03:14:08 EST 2012
    
    
  
On Wed, Jan 18, 2012 at 8:32 PM, Martin Landa <landa.martin at gmail.com> wrote:
> Hi,
>
> currently `v.edit` does not modify linked attribute tables when
> deleting features, eg.
>
> $ v.edit map=a tool=delete cat=1
> $ v.db.select a where="cat=1" -c | wc -l
> 1
>
> I am not sure if this behaviour is preferred from user POV. Would you prefer
>
> 1) to keep current behaviour
> 2) delete attributes when deleting features automatically
> 3) delete attributes only optionally (eg. tool=deleteattr" or special flag).
>
If you delete attributes, please keep in mind that other features can
have the same category like the feature to be deleted, in this case
attributes should not be deleted because they are still used by other
features.
Markus M
> Similarly for `tool=add` which do not add new record to the table.
>
> Martin
>
> --
> Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
    
    
More information about the grass-user
mailing list