[GRASS-user] Checking and fixing roads for network analysis

Moritz Lennert mlennert at club.worldonline.be
Mon Jan 19 08:11:19 PST 2015


On 19/01/15 16:48, Daniel Victoria wrote:
> Hi Mark and others,
>
> I figured out where the error I'm getting from v.net.components is
> coming from. I just don't know how to fix it.
> The problem is that when I clean my roads network it's breaking some
> lines and these are kept with the same categories. So when I run
> v.net.components it tries to calculate the connectivity of the
> components based on the cat value. Since there are some repeated values
> for broken roads, it can't continue. So I believe I need to get new cat
> values for the network. Just don't know ow to do it (been away from
> GRASS for a while)...
>
> How can I get new cat values? And can I keep the old values in order to
> keep the DB link to the roads network?

v.category option=add.

You can create new cat values on another layer and keep the old ones on 
layer 1.

Moritz



More information about the grass-user mailing list