[GRASS-dev] [bug #5171] (grass) v.to.db: indicator of multiple categories is not printed

Request Tracker grass-bugs at intevation.de
Mon Sep 25 06:05:21 EDT 2006


this bug's URL: http://intevation.de/rt/webrt?serial_num=5171
-------------------------------------------------------------------------

Subject: v.to.db: indicator of multiple categories is not printed

Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: 2006.09.23

v.to.db Description says:

"(...) In uploaded/printed category values (...) 'null'/'-' (is used) if category cannot be found or multiple categories were found."

I can't reproduce that. There is a vector 'landuse' in spearfish60
which has 8 categories. Only cat 6 is used by a single centorid. Remaining cats are used by multiple centroids.

But when I print centroid's coordinates, only the cat 6 is reported, while  but according to Description, also the remaining cats should be printed with 'null'/'-' indicator of multiple connections. But I can't see any such thing there:

$ v.to.db -p landuse option=coor type=centroid column=dum1,dum2
cat|x|y|z
6|602900|4915650|0
8 categories read from map
0 records selected from table
0 categories read from map exist in selection from table
0 categories read from map don't exist in selection from table
0 records updated/inserted
0 update/insert errors

Radim says on the dev list http://grass.itc.it/pipermail/grass-dev/2006-September/025953.html:

> Seems to be bug in  v.to.db, the categories with multiple geoms should be
> printed with '-' in coor cols.

Maciek


-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list