Identifying elements by their ID

.

.

When we look at a network map, we can easily distinguish one element from another. However, sometimes elements may overlap, even though they are actually different. The only way to distinguish them definitively is to assign them a unique identifier, at least within their type. QGISRed, like EPANET, requires a unique identifier for all linear elements, as well as for nodes. This identifier is also used to exchange information between applications or to associate different data with the same element.

QGISRed now has a tool to directly identify an element by its ID. First, select the element type, including multiple demands, sources and GD elements, and then the IDs of all elements of that type or those matching a specific filter are displayed.

The selected element is highlighted, and if it is outside the visible area of the network, the view is scrolled to display it. Furthermore, if the area occupied by the element is too small or too large, the zoom level is adjusted to view it clearly, along with its surroundings.

In addition, a window displays the IDs of all elements connected to the selected element, including those in the GD. If any of these elements have multiple supply or demand sources, this is highlighted. Clicking once on any of the connected elements highlights it on the map, and clicking twice makes it the new selected element. This allows you to navigate the network via adjacent elements.

Once the searched-for element has been identified, all its properties can be viewed.

It is also possible to perform the reverse operation, that is, to click on a map element and view its ID, its properties and the IDs of all connected elements.

You may also be interested...