GRASS Vector Layers
Grass Vector Layers
create table road_network (cat integer, id integer);
v.category --o in=roads out=outmap option=del v.category --o in=outmap out=stepmap option=add v.to.db map=setpmap option=cat
update road_network set id=cat;