v.net.path - was Re: [GRASS-dev] Re: d.vect changes

Markus Neteler neteler at itc.it
Thu May 3 07:19:42 EDT 2007


[ v.net.path example ]

On Thu, May 03, 2007 at 08:32:00PM +1200, Hamish wrote:
...
> This is because "connect" lines are missing any cat values. v.clean (and
> almost all vector modules) work by cycling through the list of cats. You
> have to use v.category to give them a cat before going on. I have forgotten
> to do this enough times that now I always remember it.

If you look at v.db.addtable, you see that it tries to add
categories. But only in the table. Perhaps *there* should be
an addition to first check if categories are present at all,
if not, add them?

See line 192 in v.db.addtable.

This would greatly simplify the example.

Markus




More information about the grass-dev mailing list