[GRASSLIST:6448] Maintaining line attributes after building polylines

Patton, Eric epatton at nrcan.gc.ca
Wed Apr 13 12:35:09 EDT 2005


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 at NRCan.gc.ca> epatton at NRCan.gc.ca

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20050413/06f74ca2/attachment.html


More information about the grass-user mailing list