[GRASS-user] v.patch and cat values

Dylan Beaudette dylan.beaudette at gmail.com
Tue Mar 6 12:50:46 EST 2007


On Tuesday 06 March 2007 08:46, Tyler Smith wrote:
> Hi,
>
> I've just patched to vector maps together, using v.patch, followed by
> v.clean and v.db.addtable to add "reg_name varchar(40)". This all
> worked well, so I then turned to populating reg_name using d.what.rast
> -e. This also worked without problem. However, I now realize that the
> table created for this new vector map has given areas from the two
> different maps input to v.patch the same cat number. So when I edit
> the reg_name for an area from input map 1, it also applies that
> edit to an area from input map 2.
>
> Is there a way to re-assign cat numbers to the areas in my map so that
> I can give them unique names? Ideally without having to repeat the
> v.patch step, as I've spent a couple hours doing d.what.rast editing!

Hi Tyler,

see v.category for details on re-assigning cats.

-- 
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341




More information about the grass-user mailing list