Select to view content in your preferred language

adding lengths of polylines to an attribute table

05-05-2012 02:25 PM
New Contributor

I am creating a model in which a polyline feature (streams) is intersected with a polygon feature (impervious surface converted to polygons), splitting the polylines into a number of small segments.  I used the "multipart to single part" and "feature to line" (unchecking retain attributes) tools to convert the new segments into a set of small polylines without the attributes of the original shapefile, which lists the length of each polyline before being split.  What I would like to do now is measure the length of each polyline segment and add that data as a field in the attribute table for the new feature.  Is there a way to do this?

Many thanks
0 Kudos
1 Reply
by Esri Regular Contributor
Esri Regular Contributor
Use the Add Field tool (Data Management toolbox - Fields toolset) to add a double type field.
Use the Calculate Field tool (in the same toolset) to calculate shape_length. See examples (ArcGIS 10) here: