To edit a network, you can simply open the network on the GeoPlan and start editing.
This topic describes how to create a new version of the network, which can be amended. The original version of the network is kept in the database. When you have finished editing the network, you must commit the changes to save them to the database.
The following steps show how to view the commit history, open the network and make some changes to it, and then commit the changes to the database:
Viewing the Commit History
- Right-click the ‘Langley for Subcatchments (TUT)’ in the Explorer window and select Show commit history from the pop-up context menu. The Commit History dialog is then displayed.
- Select the Close button when you are finished viewing the history.
Opening and editing a Network
- Right-click the 'Langley for Subcatchments (TUT)' network in the
Explorer window and select Open from the pop-up context menu.
Alternatively, drag the required network from the Explorer window to the middle part of the main window.
The selected network is then displayed in the GeoPlan.
- Click the properties button
, located on GeoPlan Toolbar, and the Object Properties is displayed.
- Make a small change to the pump, such as changing the Switch on level to 8.9.
- When the editing is complete, the network would normally now be checked for errors as described in Validating the network. However, in this part of the tutorial, we will simply commit the changes.
Each time you edit a network and commit changes, a new version of the network is created in the database. All previous versions of the network are available for inspection at any time. You create a new version by editing a network and committing changes. If you wish to make a specific version of the network its own network, then you must create a branch, see Creating a Branch for further information.
Note that once a change is made, the network icon in the database now contains an exclamation mark, which indicates that there are changes that have not been committed.
Committing the changes
- Right-click the 'Langley for Subcatchments (TUT)' network in the Explorer window and select Commit changes to database from the pop-up context menu. The Commit Changes dialog is then displayed.
- Enter a comment, such as 'Changed pump switch on level from 2.7 to 8.9' and click OK.
If the network contains any scenarios, then a message is displayed asking you to validate the network.
- As network validation is covered later in this tutorial, click No to commit without validating the network.
The network changes are now committed. Note that the network icon in the database no longer contains a red exclamation mark.
- Check the commit history for the network. Right-click the ‘Langley for Subcatchments (TUT)’ icon in the
Explorer window and select Show commit history from the pop-up context menu.
Note that there are now two versions of the network shown in the commit history.
- Click Close when you are finished viewing the history.
- Close the GeoPlan by clicking the
button located in the top right-hand corner of the window.