This tool requires you to have run your network through the tools that calculate distance to network mouth, catchment ID and build the segment ID tables. Using these attributes and by generating a temporary point dataset the tool calls upon existing functionality within RivEX to compute the source ID for each polyline and encodes this back into the network. This tool essentially bolts existing functionality together so avoids you manually processing the network.

The source ID is the ID of the source node which is the furthest point upstream.

If RivEX is unable to determine the source (e.g. your network has gridded sections that go around in loops) then the output value will default to -1.

With a network encoded with source ID searching along a route to source is simplified as by clicking on any polyline you automatically know the source of the river.

The default output field name is SourceID, but if a field already exists with this name then the tool will create a new field name with an incremental number , for example SourceID1.

Selecting this tool opens the following dialog, there is nothing for you do but press OK to start the process. If any of the fields are displaying NOT SET then you need to run the appropriate tool to generate the field. This tool will not run if any fields are displaying NOT SET.

Encode source ID into network dialog

Once you press OK the tool will execute, it will generate temporary datasets during processing but these will be removed.

A network coded up with source ID

A network coded up with source ID