• InfoWorks ICM

Importing data into the model

Create a model from a blank network by importing data using different methods.


Tutorial resources

These downloadable resources will be used to complete this tutorial:

Imprt_Data_Mdl.zip

Step-by-step guide

Urban drainage network data can be imported into InfoWorks ICM from a range of sources, including existing InfoWorks ICM models, Access files, CSV files, MapInfo, and ArcGIS files.

Though it is possible to import networks directly from these sources, it is more common to import using the Open Data Import Centre (ODIC), which allows for data to be mapped automatically to the relevant InfoWorks ICM object data table.

Create a network folder to house the imports:

  1. In the Explorer window, right-click the Model Group and select New InfoWorks > InfoWorks network.
  2. In the New Name - InfoWorks network popup, in the New Name field, enter "Urban Drainage Model".
  3. Click OK.

The InfoWorks ICM Explorer window displaying the new Urban Drainage model network folder.

  1. Double-click or drag the Urban Drainage Model onto the GeoPlan to make it the active network.

To correctly align this tutorial with the GIS layers, set the coordinate system for the model:

  1. From the GeoPlan menu, select Set Coordinate System.
  2. In the Select Coordinate System dialog box, in the Projection group, click More (…).
  3. In the Choose Coordinate System dialog box, next to Find, type "british" to find the coordinate system for this tutorial exercise.
  4. In the tree view, expand the British Coordinate Systems folder, and select British National Grid [EPSG 27700].

The Choose Coordinate System dialog box, with British National Grid [EPSG 27700] selected as the coordinate system.

  1. Click OK.
  2. Click OK again to close the Select Coordinate System dialog box.

To import networks with the Open Data Import Centre (ODIC):

  1. From the Network menu, click Import, then select Open Data Import Centre.
  2. In the ODIC, under Data Source, expand the Source Type drop-down and select CSV.
  3. Click the File Browse (…) icon, navigate to the exercise files for this tutorial, and select Nodes.csv.
  4. Click Open.
  5. Back in the ODIC, in the Field Mapping Configuration group, click Auto-Map to search the import file for fields that match those that define the nodes in the network:

The Field Mapping Configuration section in the ODIC, with Auto-Map highlighted as selected, and the Import Fields highlighted and populated with the matched fields adjacent to the corresponding node IDs.

In the table, under Import Fields, the data from the CSV file populates the matching Object Fields.

  1. Click Import.

The Open Data Import Center (ODIC), with the file name and auto-mapped fields highlighted to import a Node network.

An import notification displays how many objects were imported, as well as if there were any errors or warnings.

  1. Click OK.

To import a conduit network:

  1. Still in the ODIC, under Table To Import Data Into, expand the drop-down and select Conduit.
  2. Under Data Source, select Raw Shape File as the Source Type.
  3. Click the File Browse icon, navigate to the exercise files for this tutorial, and select Conduits.shp.
  4. Click Open.
  5. Again, for the Field Mapping Configuration, click Auto-Map to see the matching data fields in the table.
  6. Click Import.

The ODIC, with the file name and auto-mapped fields highlighted to import a Conduit network.

  1. Click OK to close the notification window.
  2. Click Close the exit the ODIC.

The GeoPlan displays the imported data:

GeoPlan displaying the imported Node and Conduit networks.

Another method for importing data into the sewer network model is to bring in updated data from a CSV file. This is particularly useful for bringing in changes made by others with differences between network versions and InfoWorks format data.

To add subcatchments and other structures from an updated CSV:

  1. From the Network menu, click Import, then select Update from CSV files.
  2. In the Import/Update from CSV Data dialog box, the update options can be configured, but for this exercise, just click OK.
  3. In the file browser, locate and select Network_Structures.csv.
  4. Click Open.
  5. The file browser reappears to load other .csv files. For this tutorial, click Cancel.

The model view changes to show a list of all the data that will be imported in this CSV. Subcatchments and structures can now be seen in the GeoPlan, along with the previously imported nodes and conduits.

GeoPlan displaying the imported Subcatchments and structures, with the previously imported Node and Conduit networks.

  1. Click Validate to validate the network.

ICM toolbar view with Validate button highlighted.

  1. In the Network Validation dialog box, click OK.

Only yellow warning and blue information messages appear in the Output window for this network:

The ICM interface, with the Output window highlighted, where there are only yellow warning and blue information messages listed for this network.

  1. Click Commit to commit the changes to the new network.

The ICM toolbars, with the Commit button highlighted.

  1. In the Commit changes to server dialog box, add a comment of "Imported model data".
  2. Click OK.