Wiki

Clone wiki

Geomorphic Network and Analysis Toolbox / Tool_Documentation / MovingWindow

Moving Window Analysis Tool

The moving window analysis tool calculates length based attributes over a series of user specified window lengths. The results are reported at the center point of each window series (Seed Point).


##Inputs

Line Network

The Line network on which the Moving Window analysis will be generated. Requirements: *contains the network attributes for which the moving window summary will be calculated (i.e. Confinement). * The Line Network must be Routed and include a RouteID attribute. We recommend routes be created for unique GNIS names and Stream Order, which will improve routing for unnamed streams. This is described in the XXXX tool.

Stream Route ID

The field that contains a unique ID for each Stream/Route. The tool will dissolve based on this ID, so as to create the longest continuous river segments for generating the Seed Points.

Attribute Field

The Field that contains the Attribute information for the moving window calculation. <Needs clarification: Currently only BINARY fields for Confinement (i.e. <code>IsConfined).>

Seed Point Distance

Distance between seed points. The first seed point is located at half the distance of the largest window size from the ends of each stream route. This is to ensure that each seed point has every window size associated with it.

Window Sizes

Window size (in meters) to be generated at each seed point. Multiple window sizes can be specified.

Output Workspace

Output File Geodatabase to store the results and intermediate data. The default is the Scratch Workspace listed in the File Geodatabase Environments.


Calculations

The tool first dissolves the network based on the route (RouteID) and a set of Seed Points at the user-specified distance is generated for all lines within the Network Line featureclass (Technical note: the Insert Cursor function is used to generate seed points, end points and window lines). A user-defined window is centered on the Seed Point and endpoints and a line are generated for the window (Window Line). The Window Line is intersected with the Network Line and a pivot table for the Summary Statistics for each route/seed/window/isConfined is generated. This generates the Network Line length that IsConfined and this is joined to the Seed Point featureclass.

Channel Confinement is calculated for each Window Length of each Seed Point within each Route of the Network Line as follows:

length of segment that IsConfined/WindowLength


Outputs

All data output from this tool begin with GNAT_MWA_

Seed Points

Points that contain the calculated attribute for each window size.

  • <Needs field definitions and featureclasses in which these attributes exist>
  • <list any useful intermediate featureclasses and define attributes of interest>

Troubleshooting and Potential Issues

Tool Revisions

Version 1.2

  • Initial Version of this tool.

Updated