[GRASSLIST:6448] Maintaining line attributes after building polylines

I have a vector of a lake shoreline that is a series of connected line
segments that close in on each other to form a graphic polygon, not a true
polygon. Each line segment has several attributes, including a unique ID. I
converted the segments into a polygon, or boundary vector type, using
v.build.polylines. My problem is that none of the attributes exist in my new
polygon. When queried, I get the map name, mapset, feature type, and area,
but none of the attributes that previously existed in the individual
segments. Is there a way to attach the attributes of the old line segments
to the new polygon?

I thought that v.db.connect might help, but as there are no cat numbers or
IDs associated with the new boundary feature, so this wouldn't work.

Any ideas?

~ Eric.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Eric Patton

Technologist, Geo-Spatial Data Services

Geological Survey of Canada (Atlantic)

Natural Resources Canada

Bedford Institute of Oceanography

Dartmouth, Nova Scotia, Canada B2Y 4A2

Postal address: P.O. Box 1006

Courier address: 1 Challenger Drive

Telephone: (902)426-7732

Facsimile: (902)426-4104

E-mail: <mailto:epatton@NRCan.gc.ca> epatton@NRCan.gc.ca

I have a vector of a lake shoreline that is a series of connected line
segments that close in on each other to form a graphic polygon, not a true
polygon. Each line segment has several attributes, including a unique ID. I
converted the segments into a polygon, or boundary vector type, using
v.build.polylines. My problem is that none of the attributes exist in my new
polygon. When queried, I get the map name, mapset, feature type, and area,
but none of the attributes that previously existed in the individual
segments. Is there a way to attach the attributes of the old line segments
to the new polygon?

I thought that v.db.connect might help, but as there are no cat numbers or
IDs associated with the new boundary feature, so this wouldn't work.

have a look at the script in this post:

  http://grass.itc.it/pipermail/grassuser/2005-April/028570.html

maybe some good clues there.

Hamish