Select to view content in your preferred language

Calculating average stream length per stream order

5392
4
05-23-2012 12:48 PM
Labels (1)
SeanLofgren
New Contributor
I have the strahler stream order layer and a stream length raster. How can I calculate the average lenth for each stream order? Is this possible? Any help would be greatly appreciated.
Tags (2)
0 Kudos
4 Replies
AliAkel
Emerging Contributor
Here's one way to do it. Though I don't know if it is the "proper" way:

-First convert your stream order layer to a polyline from:
Arc Toolbox > Conversion Tools > From Raster >  Raster to Polyline.
Add your stream order layer as an input and uncheck the "simplify polylines" box.

-Next add a new field to the attribute table of your newly created layer:
Arc Toolbox > Data Management Tools > Fields > Add Field
Choose your newly created layer as the input table and enter "length" (or whatever) as the field name. choose "LONG" as the field type.

-Now open the attribute table for the layer created in the first step, right-click on the field you've created and choose "calculate geometry". Choose your units and click OK.
0 Kudos
SeanLofgren
New Contributor
Thank You. That worked great and was exactly what I was looking for.
0 Kudos
JoshuaOmereonye
New Contributor

Hello Akel, i tried exactly what you said and it didn't work. i wasn't still able to calculate the stream length

0 Kudos
JoshuaOmereonye
New Contributor

Is there any alternative way of solving the problem?

0 Kudos