[GRASS-user] v.net.iso - node costs

Paolo Craveri pcraveri at gmail.com
Wed Nov 12 06:17:42 EST 2008


Hi Moritz

> Is mynetwork_2 attached to any map ?
Yes.
v.db.connect mynetwork  -p
Vector map <mynetwork at user1> is connected by:
layer <1> table <mynetwork> in database
</home/craveripaololivio/grassdata/spearfish60/user1/sqlite.db>
through driver <sqlite> with key <cat>
layer <2> table <mynetwork_2> in database
</home/craveripaololivio/grassdata/spearfish60/user1/sqlite.db>
through driver <sqlite> with key <cat>

> What does 'v.category map=mynetwork option=report' give you ?

GRASS 6.4.svn (spearfish60):~ > v.category mynetwork option=report
Layer/table: 1/mynetwork
type       count        min        max
point          0          0          0
line         875          1          5
boundary       0          0          0
centroid       0          0          0
area           0          0          0
all          875          1          5
Layer/table: 2/mynetwork_2
type       count        min        max
point         25          1         25
line           0          0          0
boundary       0          0          0
centroid       0          0          0
area           0          0          0
all           25          1         25



> What does 'v.db.select map=mynetwork layer=2' give you ?

GRASS 6.4.svn (spearfish60):~ > v.db.select map=mynetwork layer=2
cat|cost
1|1
2|1
3|1
4|1
5|1
6|1
7|1
8|1
9|1
10|1
11|1
12|1
13|1
14|1
15|1
16|1
17|1
18|1
19|1
20|1
21|1
22|1
23|1
24|1
25|1

I also tried others modules (e.g. v.net.path) getting the same error
if I use  point cost (eg : ncolumn=cost)


Many thanks.

Paolo


More information about the grass-user mailing list