I figured it out.  Since I only needed a specific attribute (PIPE_DIAM) I
used the following:
var feature_att = this.sourceLayer.features[i].attributes.PIPE_DIAM;
var p_feature = new OpenLayers.Feature.Vector( p_geom, { angle: lineangle,
PIPE_DIAM: feature_att } ); 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/How-to-add-attributes-to-a-new-feature-tp5144282p5144286.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to