[GRASS5] [bug #2685] (grass) Problem with v.category

Radim Blazek blazek at itc.it
Tue Nov 9 03:12:46 EST 2004


v.category option=add can add a new category to elements without
category. You need v.reclass or v.category option=del + v.category 
option=add

Radim

Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=2685
> -------------------------------------------------------------------------
> 
> Subject: Problem with v.category
> 
> Platform: GNU/Linux/i386
> grass obtained from: CVS
> grass binary for platform: Downloaded precompiled Binaries
> GRASS Version: grass5.7.cvs-i686-pc-linux-gnu-23_10_200
> 
> 
> I need to change the category value of several areas in order to query a DB, and v.category is not working fine.
> 
> 
> - I'm running version grass5.7.cvs-i686-pc-linux-gnu-23_10_2004, and I need to change de category value of an area.
> If  I run this
> v.category input="vec_area_3" output="vec_Area_34" type="boundary,centroid,area" option="add" cat=4 field=1 step=1
> 
> only the value of boundary change, the value of Area is still 1
> 
> If I run this
> v.category input="vec_area_3" output="vec_Area_34" type="area" option="add" cat=4 field=1 step=1
> the value of area is still 1, nothing change
> 
> - I changed the version to grass5.7.cvs-i686-pc-linux-gnu-06_11_2004
> and if i run 
> v.category input="vec_area_3" output="vec_Area_34" type="boundary,centroid,area" option="add" cat=4 field=1 step=1
> 
> the vector vac_area_34 is not createad, nothing happen.
> 
> 
> Ignacio
> 
> -------------------------------------------- Managed by Request Tracker
> 
> _______________________________________________
> grass5 mailing list
> grass5 at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5




More information about the grass-dev mailing list