calculate mean based on line length

10-07-2021 08:34 AM
Labels (3)
Occasional Contributor III

Hi everyone,

I'm wondering if it is possible to join/merge line segments based on a common ID field and calculate the average of one of the other fields using the line segment length. 

For example, in the following graphic I want to join the line segments that fall within the polygon outlined in turquois. The yellow segment is 100m long and has a value of 50% and the orange segment is 200m long and has a value of 20%. What sort of workflow could I used to calculate the new value?



0 Kudos
1 Reply
MVP Esteemed Contributor

Dissolve is what you are describing

Dissolve (Data Management)—ArcGIS Pro | Documentation

but if you only want to include the portions within the polygons, you will have to Clip first

... sort of retired...
0 Kudos