A thirty-five-person engineering firm hands over the survey of the irrigation network of a farming company with 1,200 irrigated hectares: 140 kilometres of pipe, around 2,600 valves, 1,100 hydrants and four reservoirs, all in shapefile, with attributes, photographs and field forms. The report goes through four rounds of review and the client signs the acceptance certificate. Three weeks later, the operations manager calls the project director with a simple question: if the main pipe in sector 4 bursts, which hydrants lose water? The deliverable cannot answer it. The points and sections are well placed and well described, but nobody has checked that each pipe touches its valves or which way the water flows.
That check is the network topology: which node connects to which section and in which direction the flow runs. Once it has been validated, the operator can ask what lies downstream of a valve, which route feeds a hydrant or which valves have to be closed to work on a main. Without it, what the operator has is a very well-made drawing.
Points and attributes are not enough
In many deliverables the de facto standard is still the shapefile with complete attributes, a format designed for exchanging geometry rather than for modelling networks. ISO 19107 has long distinguished the geometric schema (coordinates, shapes, distances) from the topological one (nodes, arcs and their relationships), but in survey work the second part usually falls outside the contracted scope. The client asks for geometry, attributes and a table, and that is what gets delivered.
The trouble is that a map can look right and be badly connected. A pipe that ends thirty centimetres short of its chamber looks joined on screen. A main drawn in one go that runs over three valves without being split at them looks complete, but for a network calculation those valves cut nothing. A section digitised backwards reverses the direction of the water. When the operator tries to answer the sector 4 question, any of these defects gives a wrong answer without warning.
Which errors to look for before handover
The connection defects in a network of this kind are well known and can be checked one by one. The most frequent are loose ends, sections whose end touches nothing, and unconnected elements, such as a valve or hydrant that touches no section. Next come valves or nodes in the middle of a section that is not split at them, T-junctions where one section ends on another without the second being split, and opposing directions, two sections that meet with the flow running in opposite ways. If the direction is worked out from the sources, sections that no source reaches also appear. The list is completed by duplicate sections and elements, multi-part sections and, when sections are connected by codes, node codes that match no element.
The connection tolerance decides how many of these errors come out. With 0.10 metres, a pipe that ends 5 centimetres from a chamber is treated as connected and one that ends 20 centimetres away is left as a loose end. Raising it a lot hides drawing errors, but it can join two parallel pipes very close together that do not touch on the ground. If the mapping comes from CAD or old drawings, the first pass can produce hundreds of loose ends and a clean-up stage should be planned; if it comes from a well-kept GIS, a review is usually enough.
Validating in the tool the operator will work in
These rules can be scripted as spatial queries in PostGIS or checked by hand in QGIS, and many engineering firms do exactly that. The drawback is that the validation stays in a separate report and the validated network does not travel with the inventory. With Maptainer's Network topology module, which is contracted separately, the engineering firm loads its layers, one per element type, gives each one its role in the network, chooses the tolerance and how the flow direction is set, and on saving gets the count of open errors.
Each error opens on the map with a recommended fix, chosen from what is around it and with an explanation of why: snap the end to the given node, split the section at the valve, reverse the direction or keep one of two duplicates. Repeated errors are fixed in bulk, with a before-and-after preview, and each applied batch can be undone. Splitting sections is always done one at a time and with confirmation; the upstream part remains the same asset, with its work orders and history. Anything that is not an error, such as a genuine network end, is marked as ignored and a reason has to be given. Structural problems, such as a layer that mixes pipes and valves, are better fixed in the source GIS and loaded again.
Before the first load, the Maptainer team can carry out a prior diagnosis of the files and point out what needs fixing. For irrigation and street lighting networks, the sector template comes with the network already created and the role of each layer set.
What the operator receives
If the handover is made on the same platform the operator will use to manage maintenance, the topology stops being an appendix. The operations manager in the example clicks on the sector 4 main, chooses to isolate it and sees the valves to close, the affected hydrants and the metres of section, and from there raises the operation work order. Because the network is recalculated area by area whenever someone moves, adds or decommissions an asset, and the pointer snaps to nearby nodes when drawing, the network still matches the inventory after the first repairs. If the operator also works with another system, it can read the network through the API.
How to put it in the proposal
Validated topology only counts in a proposal if it is written down. That means describing the acceptance criterion: a calculated network with no open errors, every ignored error justified, and the connection tolerance and flow direction method stated. The network errors list, which records the reason for each ignored error, can be attached to the acceptance certificate.
It also means pricing it as a separate line item. Between a network that comes from a well-kept GIS and one inherited from CAD construction drawings there can be days or weeks of technical office time, and it is worth knowing which before setting the price. That is why it makes sense to ask for the mapping diagnosis while the proposal is being prepared, when the scope can still be adjusted.