You are on page 1of 12

City of Welland Unidirectional Water Main Flushing

Shannon Graup
Steven House
Page



City of Welland Unidirectional
Water Main Flushing: Data
Preparation Methodology
Shannon Graup & Steven House


City of Welland Unidirectional Water Main Flushing
Shannon Graup
Steven House
Page i
Table of Contents
List of Figures ............................................................................................................................. ii
List of Tables .............................................................................................................................. ii
1.0 Introduction ..................................................................................................................... 1
2.0 Methodology ........................................................................................................................ 2
2.1 Clipping Project Data to Area of Interest ........................................................................... 2
2.2 Snap Water Valve Points to Water Main Lines.................................................................. 2
2.3 Set Transfer Rules in Water Main and Water Services Hydrant Lead Drawings ............... 2
2.4 Add Hydrant Service Lines & Clean Overshoots ............................................................... 4
2.5 Data Preparation for Optimal Route Business Tool and Script .......................................... 5
2.5.1 Correct Water Main Drawing Topology ....................................................................... 5
2.5.2 Add Speed Column to Water Main Drawing ............................................................... 6
2.5.3 Add Start and Finish Nodes into Water Mains Drawing .............................................. 7
2.5.4 Add Name Column into Water Main Drawing ............................................................ 7
2.6 Data Preparation for Unidirectional Flushing Form Script ................................................. 8
2.6.1 Create Volume Columns for Water Main Drawing & Complete Calculations ............... 8
2.6.2 Add Hydrant ID Column into Water Main Drawing ...................................................... 9
2.6.3 Create Minimum Flush Times Columns & Compute Calculations ............................... 9
3.0 Conclusion ...................................................................................................................... 9


City of Welland Unidirectional Water Main Flushing
Shannon Graup
Steven House
Page ii
List of Figures
Figure 1: Area of Interest ........................................................................................................... 1
Figure 2: Transform Bar for Clip geoprocessing ......................................................................... 2
Figure 3: Topology Factory Window ........................................................................................... 5
Figure 4: Transform bar for Split With geoprocessing................................................................. 6
Figure 5: Start and Finish Nodes ................................................................................................ 7
Figure 6: Start and Finish Nodes on Active Water Mains Drawing.............................................. 7
Figure 7: Active Columns Script to Calculate Water Volumes in Active Water Mains ................. 8
Figure 8: Active Columns Script to Calculate Minimum Flush Times for Active Water Mains ...... 9
List of Tables
Table 1: Transfer Rules for Active Water Main Drawing ............................................................. 3
Table 2: Transfer Rules for Active Water Services Hydrant Lead Drawing ................................. 4


City of Welland Unidirectional Water Main Flushing
Shannon Graup
Steven House
Page 1
1.0 Introduction
Data preparation is an important part of any GIS project. Often, the success of a GIS project is
closely related to the spatial data used. An important part in completing the City of Welland
Unidirectional Water Main Flushing project is preparing the data for further use for with the
optimal route business tool, optimal route scripting and unidirectional flushing form scripting.
Preparation of data and topology edits ensure that further data analysis can be completed
correctly.
The project area of interest located to the east of downtown Welland. The area of interest is
bound by borders East Main Street to the south, Ross Street to the east, Downs Street to the
north and River Road to the west, the area of interest is shown in Figure 1.

Figure 1: Area of Interest
City of Welland Unidirectional Water Main Flushing
Shannon Graup
Steven House
Page 2
2.0 Methodology
The following section outlines the steps taken to prepare the data in Manifold 8.0. These steps
were used to prepare the data for use with the optimal route business tool, optimal route script
and the unidirectional flushing form script.
2.1 Clipping Project Data to Area of Interest
The first step taken in the data preparation was to clip the data to the area of interest. A map
with all of the project data was created and using the transform bar the data was clipped. Figure
2 below shows the transform bar with the specific options used for this geoprocessing.

Figure 2: Transform Bar for Clip geoprocessing
2.2 Snap Water Valve Points to Water Main Lines
The Active_Water_Valve point drawing must be snapped to the Active_Water_Mains line
drawing. The project client, Jamie Leitch provided a query to snap points to the nearest line.
After the appropriate drawing names (Active_Water_Valve and Active_Water_Mains) were
entered into the query, and the query was run, the valve points were snapped to the nearest
water main line.
Mr. Leitch provided three other queries to snap points to lines; Snap points to nearest line (with
threshold), Snap points to nearest line having same name, and Snap points to nearest line
having same name LINKED, although these queries were not utilized during this project.
2.3 Set Transfer Rules in Water Main and Water Services Hydrant Lead
Drawings
Before completing any geoprocessing on the Active_Water_Mains and
Active_Water_Services_Hydrant_Lead drawings transfer rules must be set in order to ensure
that column values are transferred properly.

Transfer rules can be set for one to many (1 to n) and many to one (n to 1). Transfer rules of
one to many dictate how the data record behaves when one object is split into many, while
many to one transfer rules will dictate how the data record behaves when many objects are
merged into one object. Transfer rules for one to many can be set to copy, equal division,
proportional or sample. Transfer rules for many to one can be set to average, copy, count,
maximum, median, minimum, sample, or sum.



City of Welland Unidirectional Water Main Flushing
Shannon Graup
Steven House
Page 3
Table 1 shows the transfer rules set to the Active_Water_Mains drawing.
Table 1: Transfer Rules for Active Water Main Drawing
One to many (1 to n) Many to one (n to 1)
Column Transfer Rule Column Transfer Rule
Asset Description Copy Asset Description Copy
Asset id Copy Asset id Copy
Asset symbol Copy Asset symbol Copy
Component Copy Component Copy
Facility Copy Facility Copy
Service Copy Service Copy
Sub system Copy Sub system Copy
System Copy System Copy
Ownership Copy Ownership Copy
Material Copy Material Copy
Status Copy Status Copy
Useful life Copy Useful life Copy
Corridor Name Copy Corridor Name Copy
Unit measure Copy Unit measure Copy
Nominal length Copy Nominal length Copy
Flow direction Copy Flow direction Copy
Replacement cost Proportional To (Length) Replacement cost Sum
Quantity Proportional To (Length) Quantity Sum


City of Welland Unidirectional Water Main Flushing
Shannon Graup
Steven House
Page 4
Table 2 below shows the transfer rules set to the Active_Water_Services_Hydrant_Lead
drawing.
Table 2: Transfer Rules for Active Water Services Hydrant Lead Drawing
One to many (1 to n) Many to one (n to 1)
Column Transfer Rule Column Transfer Rule
Asset Description Copy Asset Description Copy
Asset id Copy Asset id Copy
Asset symbol Copy Asset symbol Copy
Component Copy Component Copy
Facility Copy Facility Copy
Service Copy Service Copy
Sub system Copy Sub system Copy
System Copy System Copy
Ownership Copy Ownership Copy
Material Copy Material Copy
Status Copy Status Copy
Useful life Copy Useful life Copy
Corridor Name Copy Corridor Name Copy
Station Description Copy Station Description Copy
Metrics confidence Copy Metrics confidence Copy
Unit measure Copy Unit measure Copy
Nominal Size Copy Nominal Size Copy
Replacement cost Proportional To (Length) Replacement cost Sum
Useful life Proportional To (Length) Useful life Sum
Quantity Proportional To (Length) Quantity Sum

Transfer rules were set for both Active_Water_Mains and
Active_Water_Services_Hydrant_Lead because there was geoprocessing using both of these
drawings during the data preparation.
2.4 Add Hydrant Service Lines & Clean Overshoots
The data located in the project area of interest had two Active_Water_Services_Hydrant_Lead
lines missing. These service hydrant lead lines were digitized into the drawing perpendicular
from the Active_Hydrant to the Active_Water_Main owned by the City of Welland. The
snapping toolbar was used to snap the service lead to the Active_Hydrant.
Once the two Active_Water_Services_Hydrant_Lead lines were added the topology was
cleaned to ensure there was no line overshoot past the Active_Water_Mains. This was done
by selecting the two newly digitized Active_Water_Services_Hydrant_Lead, using the
transform bar to split with. The selected Active_Water_Services_Hydrant_Lead were split
with, All objects in Active Water Mains. This broke the Active_Water_Services_Hydrant_Lead
at the Active_Water_Mains, and the overshoot was deleted.
City of Welland Unidirectional Water Main Flushing
Shannon Graup
Steven House
Page 5
2.5 Data Preparation for Optimal Route Business Tool and Script
The following steps must be completed to prepare the data for use with the optimal route
business tool and optimal route script. In order for the tool to work properly the start and finish
nodes, as well as the lines must be in the same drawing, and the topology must be correct.
There must be a speed column to satisfy the speed function in the optimal route business tool.
Preparation for the optimal route business tool and optimal route script was completed in six
steps.
2.5.1 Correct Water Main Drawing Topology
In order to ensure the Active_Water_Mains drawing had correct topology, topology
factory, and geoprocessing with the transform bar were used. To view any errors
Topology Factory can be used, located in the drawing menu. The topology factory
window can be seen below in Figure 3.

Figure 3: Topology Factory Window
City of Welland Unidirectional Water Main Flushing
Shannon Graup
Steven House
Page 6
Topology factory allows a precision to be set on the drawing. When completing topology
edits on the Active_Water_Mains drawing the precision was set to 0.1 meters to ensure
the topology within the drawing was clean. In the project area of interest, no topology
errors were found within the Active_Water_Mains drawing.
Although no errors were found within the Active_Water_Mains drawing itself, topology
edits had to be completed to split the Active_Water_Mains at
Active_Water_Junctions, and split the Active_Water_Mains at
Active_Water_Services_Hydrant_Lead. The transform bar was used to complete both
of these topology edits. An example of the transform bar using split with can be seen
below in Figure 4.

Figure 4: Transform bar for Split With geoprocessing
Completing Split with geoprocessing on the Active_Water_Mains drawing for both
Active_Water_Junctions and Active_Water_Services_Hydrant_Lead ensures that the
water mains are separated into segments at every water junction and hydrant service
lead.
2.5.2 Add Speed Column to Water Main Drawing
In order to use the optimal route business tool there must be a speed column. The
speed column added was an integer type. When doing a unidirectional water main flush
there is no specific speed to input for water mains, so this column was filled with a value
of 1 to satisfy the function.


City of Welland Unidirectional Water Main Flushing
Shannon Graup
Steven House
Page 7
2.5.3 Add Start and Finish Nodes into Water Mains Drawing
To use the optimal route tool, start and finish nodes, as well as the lines must be in the
same drawing. Start nodes were added into the Active_Water_Mains drawing at the
location of water junctions. Finish nodes were added into the Active_Water_Mains
drawing at the location where the Active_Water_Services_Hydrant_Lead intersects
with the Active_Water_Mains. Nodes were snapped into place to ensure the topology
was correct. Figure 5 below shows start and finish nodes, in green and red respectively.
Figure 6 shows the start and finish nodes in the same location, from the
Active_Water_Mains drawing.


Figure 5: Start and Finish Nodes


Figure 6: Start and Finish Nodes on Active
Water Mains Drawing
Start nodes are added onto the Active_Water_Junctions and finish nodes are added
onto the drawing where the Active_Water_Services_Hydrant_Lead intersects the
Active_Water_Mains line.
2.5.4 Add Name Column into Water Main Drawing
Once the start and finish nodes are added onto the drawing, a name column must be
added into the Active_Water_Mains drawing. A record of start or finish must be added
into the drawing. These records will be used in the optimal route script.

City of Welland Unidirectional Water Main Flushing
Shannon Graup
Steven House
Page 8
2.6 Data Preparation for Unidirectional Flushing Form Script
The following steps must be completed to prepare the data for use with the unidirectional
flushing form script. Columns with the volume in cubic meters, and gallons were created,
hydrant ID numbers were added, and columns with the minimum flush times for 10 psi and 20
psi were created.
2.6.1 Create Volume Columns for Water Main Drawing & Complete Calculations
A number of calculations involving the flushed water must be calculated and put onto the
Unidirectional Flushing form (UDF Form). Two active columns must be added to the
Active_Water_Mains drawing to calculate the water volume in cubic meters, and in
gallons.
Both active columns added to the drawing were the type of Floating-point (double). In
Manifold an active column can be added with a script function to calculate a value, and
the value can be recomputed to update the values if the drawing has been edited. Figure
7 shows the script used to calculate the water volume of the water mains in cubic
meters, and in gallons.

Figure 7: Active Columns Script to Calculate Water Volumes in Active Water Mains
City of Welland Unidirectional Water Main Flushing
Shannon Graup
Steven House
Page 9
2.6.2 Add Hydrant ID Column into Water Main Drawing
The corresponding hydrant IDs must be added to the finish nodes. A new column (type,
text) is added into the Active_Water_Mains drawing called Hydrant_id. The
corresponding hydrant ids are added into this column. This step is completed for use in
the unidirectional flushing form.
2.6.3 Create Minimum Flush Times Columns & Compute Calculations
The last step in the data preparation is to add two new active columns with the type of
Floating-point (double) to calculate the minimum flush times for water mains. These
columns will be used for further scripting completed in the project to create a
unidirectional flushing form. Figure 8 below shows the script functions used to calculate
minimum flushing times for 10 psi and 20 psi respectively.

Figure 8: Active Columns Script to Calculate Minimum Flush Times for Active Water Mains
3.0 Conclusion
Completing all of the steps outlined above will prepare data in any area of interest for further
use with the optimal route business tool, optimal route script, and unidirectional flushing form
script created by the project team.

You might also like