<div dir="ltr"><div><div>Thanks Moritz,<br><br></div>I was just getting confused because of the layers. I've now added a new layer to my roads vector, added new cats and created the network. v.net.components worked nicely. I just need to study more how these layers work so I can have a layer with the new categories and not loose the link with the old cats, where the roads name and type are stored.<br><br></div>Cheers<br>Daniel<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 19, 2015 at 2:11 PM, Moritz Lennert <span dir="ltr"><<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonline.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 19/01/15 16:48, Daniel Victoria wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Mark and others,<br>
<br>
I figured out where the error I'm getting from v.net.components is<br>
coming from. I just don't know how to fix it.<br>
The problem is that when I clean my roads network it's breaking some<br>
lines and these are kept with the same categories. So when I run<br>
v.net.components it tries to calculate the connectivity of the<br>
components based on the cat value. Since there are some repeated values<br>
for broken roads, it can't continue. So I believe I need to get new cat<br>
values for the network. Just don't know ow to do it (been away from<br>
GRASS for a while)...<br>
<br>
How can I get new cat values? And can I keep the old values in order to<br>
keep the DB link to the roads network?<br>
</blockquote>
<br></span>
v.category option=add.<br>
<br>
You can create new cat values on another layer and keep the old ones on layer 1.<span class="HOEnZb"><font color="#888888"><br>
<br>
Moritz<br>
<br>
</font></span></blockquote></div><br></div>