[GRASS-dev] calculate distance with vector

Quentin wrote:

I want to know what are distances between several little
vectors and the big one. so I write :

v.distance -p -a from=grille247@ventoux288
to=roland3@ventoux288 from_type=centroid to_type=boundary
from_layer=1 to_layer=1 dmax=-1 upload=cat,dist
table=cat,dist

the little vectors are in grille247 and they contain lots
of another information.
the error is Required parameter <column> not set:
(Column name(s) where values specified by 'upload' option
will be uploaded)

how can i set the column.

create a column to contain the uploaded distance with v.db.addcol.

then feed that column name to the 'v.distance column=' option.

Hamish