epanet.de / DC Water Design Extension / Manual
This tutorial shows how to assign junction elevations from the nearest spot height.
This approach is suitable as long as the spot heights are dense enough. In case the spot heights are very sparse, an approach that involves interpolation should be choosen.
![]() | Note |
|---|---|
The following requires the "Geoprocessing Extension" which is part of ArcView. |
Assumptions:
The elevations are stored in the Elevation
field of the Spotheight theme. |
The elevations should be calculated for the Elevation field of the Junction
theme. |
Example 3.2. Elevation Assignment
Load the "Geoprocessing Extension".
Add the Junction and Spotheight themes to the current view (Unless they
have been added already).
Select → from the menu.
In the GeoProcessing Wizard, select "Assign data by location (Spatial Join)" and click .
Select Junction.shp as the theme to
assign data to.
Select Spotheight.shp as the theme
to assign data from.
Verify that the data will be assigned whether it is nearest.
Click on the button.
Activate the Junction theme.
Open the Junction table:
Select → from the menu.
Open the table properties: Select → from the menu.
In the field list, scroll down to the last Elevation field.
Enter "E" (without quotes) as an alias for the
Elevation field.
Click the button.
Start editing the table: Select → from the menu.
Select the Elevation field.
Open the field calculator: Select → from the menu.
Doubleclick on the "E" field or directly enter the following formula:
[e]
Click on the button.
Stop editing: Select → .
Save the edits: Click .