Riverscapes / ConfinementTool

Confinement Tool
http://confinement.riverscapes.xyz
GNU Lesser General Public License v3.0
3 stars 3 forks source link

Calculating sinuosity #40

Closed Hornbydd closed 5 years ago

Hornbydd commented 5 years ago

@dsear - OK just wanted to clarify the actual working out of the sinuosity of a segment when compared to the valley centre line. Turns out when I go back to our scribblings, what was clear as day then is now just a jumble of blue lines! :)

Mad minds!

Below are two scenarios that I will have to deal with, the segment in question is highlighted in blue, valley centre line is purple.

Example 1- Segment intersects valley centre line

Example 1

Example 2- Segment never intersects valley centre line

Example 2

Are these examples how you expect sinuosity to computed? I should be able to prototype a tool fairly quickly as a serendipitous outcome of generating routes from a network dataset is that the output is a calibrated Polyline M which means I can hook into the M values embedded in the line for quick and simple calculations.

Hornbydd commented 5 years ago

@dsear - OK I have gone ahead to constructed a tool that computes sinuosity. It hooks into the fact that the output of the network dataset trace is a calibrated PolylineM featureclass. The tools logic is:

This is the model:

Model

I have constructed a tool interface for the model:

Tool

Limitations

  1. Tool requires user to have an Advanced license due to one of the tools it calls.
  2. Tool has currently only been tested under the scenario of only 1 centre line in the valley centre line dataset which segments are then selected to match appropriate branch ID. Likely the model needs tweaking when there are multiple valley centre lines in the input dataset.
dsear commented 5 years ago

@Hornbydd well done for ploughing ahead. What type of values come out for this? What is more critical is the valley centreline and from this the ability to calculate Valley slope. and to work out segments for land intensity and proportion of valley flood at risk of Geomorphic change. So I think these are the next foci. The problem of Valley centreline outside this pilot study is a constraint but presumably we might a) fix it in time or b) EA might commission OS to produce one nationally? Onwards!

Hornbydd commented 5 years ago

Here are the current basic stats on sinuosity for the main stem of the Derwent

Stats

The really high value just happens to be the very meander I was looking at in #41 !

max value

dsear commented 5 years ago

OK seem sensible - highest bend curvature relative to valley length gets highest sinuosity. good work @Hornbydd

Hornbydd commented 5 years ago

I consider this tool complete so I am closing this discussion.