[GRASS-user] adding vector attribute from another vector

Hi!

I have a line vector of rivers generated from DEM. I also have a file
of stream labels as points from the geonet names server.

How can I easily add the label names from gns to the stream lines?

v.digit is one way, but given a large number of stream lines and
points, is there a faster way?

Cheers,

Maning
--
|---------|----------------------------------------------------------|
| __.-._ |"Ohhh. Great warrior. Wars not make one great." -Yoda |
| '-._"7' |"Freedom is still the most radical idea of all" -N.Branden|
| /'.-c |Linux registered user #402901, http://counter.li.org/ |
| | /T |http://esambale.wikispaces.com|
| _)_/LI |http://www.geocities.com/esambale/philbiodivmap/philbirds.html |
|---------|----------------------------------------------------------|

v.distance upload=cat

&&

db.execute or db.select or v.db.connect

could do the job

jachym

On Sat, Aug 05, 2006 at 06:23:04PM +0800, maning sambale wrote:

Hi!

I have a line vector of rivers generated from DEM. I also have a file
of stream labels as points from the geonet names server.

How can I easily add the label names from gns to the stream lines?

v.digit is one way, but given a large number of stream lines and
points, is there a faster way?

Cheers,

Maning
--
|---------|----------------------------------------------------------|
| __.-._ |"Ohhh. Great warrior. Wars not make one great." -Yoda |
| '-._"7' |"Freedom is still the most radical idea of all" -N.Branden|
| /'.-c |Linux registered user #402901, http://counter.li.org/ |
| | /T |http://esambale.wikispaces.com|
| _)_/LI |http://www.geocities.com/esambale/philbiodivmap/philbirds.html
|
|---------|----------------------------------------------------------|

_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser

--
Jachym Cepicky
e-mail: jachym.cepicky@centrum.cz
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/gnupg_public_key/jachym_cepicky-gpg_public_key.asc
-----------------------------------------
OFFICE:
GDF-Hannover
Mengendamm 16d
30177 Hannover
Germany
e-mail: cepicky@gdf-hannover.de
URL: http://gdf-hannover.de
Tel.: +49 511-39088507

maning sambale wrote on 08/05/2006 12:23 PM:

Hi!

I have a line vector of rivers generated from DEM. I also have a file
of stream labels as points from the geonet names server.

How can I easily add the label names from gns to the stream lines?

v.digit is one way, but given a large number of stream lines and
points, is there a faster way?

The v.what.vect does the contrary (Uploads vector values at positions of
vector points
to the table) - maybe you could check this script and "invert" it, or
better, generalize
the script to transfer attributes in either direction.

Markus