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

Daniel Victoria daniel.victoria at gmail.com
Mon Jan 19 08:33:58 PST 2015


Thanks Moritz,

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.

Cheers
Daniel

On Mon, Jan 19, 2015 at 2:11 PM, Moritz Lennert <
mlennert at club.worldonline.be> wrote:

> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20150119/fc871f29/attachment.html>


More information about the grass-user mailing list