[GRASS-dev] calculate distance with vector

Hamish hamish_b at yahoo.com
Wed Jun 10 23:01:34 EDT 2009


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 at ventoux288
> to=roland3 at 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



      



More information about the grass-dev mailing list