Main channel
- In RivEX the main channel is defined as the route taken from the furthest polyline upstream to the mouth node within a catchment.
- The algorithm works by identifying the polyline furthest away from the mouth in a catchment. The catchment is defined as all polylines flowing to a mouth node. Once the polyline has been identified RivEX traverses downstream from the source to the mouth of the catchment labelling the polylines along the route as "main channel" polylines.
- For braids or multi-threading channels, RivEX chooses a single route based upon the order of the polylines as they are stored in the dataset. This means that the chosen route may not necessarily be the main channel within the threading river section.
- The output of this process is a new field in your river network attribute table called MainChan and stores one of two values. A 1 means that the polyline is a main channel polyline, whilst all other polylines are coded to 0.
- As part of the output, all polylines with a code value of 1 in the newly created MainChan field are exported with all their attributes to a separate Shapefile. This Shapefile will end with a suffix of "_MainChannel". If this Shapefile exists already RivEX will prompt you to delete it.
- For example if you were processing a river network called "AllRivers.shp" then the main channel output Shapefile will be called "AllRivers_MainChainnel.shp". This Shapefile is stored in the standard output directory C:\RivEX\Output.
- The image below demonstrates a simple network with the main channel identified as indicated by the highlighted field MainChan. The extracted polylines have been loaded back into ArcMap and displayed in red.

- Be aware if your network includes drains or canals that "short-circuit" the dendritic pattern of rivers then you will get incorrect main channels. This is because the polylines may have been identified as one catchment yet the physical order that are stored in your Shapefile/FeatureClass will influence the identification of the main route.
