Importing Data from CSV Files / Updating Network with CSV files

Files in Comma Separated Values (CSV) format can be used to import data onto a network, either to build a network from scratch or to update it.

The example network covers a mainly urban region and includes a large number of nodes, links and subcatchments. This topic illustrates the addition of further nodes and links for a potential new housing estate in the south-east of the region. The data for the additional objects is held in the form of a CSV file which will be imported into the existing network.


This stage assumes that you have started InfoWorks ICM and that Master database, containing the ICM Basic Tutorial, is opened in the Explorer window, showing the 'Langley Catchment Study' model group.

The tutorial dataset uses InfoWorks native units (metric units). To import the tutorial data correctly, set the user units to metric (if not already set) by selecting Options from the Tools menu and clicking the Metric (Native) button on the Units tab.

To import data from a CSV file:

  1. Right-click the Langley Network (TUT) network in the Explorer window, and select Show commit history from the pop-up menu, and a Commit history window is displayed.
  2. Select the version at the top of the list and click Branch.
  3. ClosedShow me

    A New Master Database Item dialog is displayed. In this window:

  4. Name the network 'Langley Catchment - New Estate'. Click OK.

    ClosedShow me

  5. Open the network you just created. ClosedEither right-click the icon in the Explorer window and select Open from its pop-up menu, or, drag the icon to the Main window.
  6. Select Options from the Tools menu and then select the GeoPlan tab. Make sure that a map control is specified to something other than 'None'. If set to 'None', choose ArcDesktop or ArcEngine (if you have an ESRI license) or MapXtreme. Click Apply and OK. If you changed the map control, then restart InfoWorks ICM in order for the map control to take effect.

  7. Right-click the GeoPlan and select GIS Layer Control from the pop-up menu. The GIS Layer Control dialog is displayed:
  8. ClosedShow me

  9. Click Add, and then in the Open window, browse to 'Tutorial File/Maps' and then select the 'MapC.shp' file.

    ClosedShow me

  10. Click Open and the Open window closes. The selected 'MapC.shp' file is now displayed in the GIS layer pane of the GIS Layer Control dialog.

    ClosedShow me

  11. Select Apply and then OK to save the changes the map layer. The GIS Layer Control dialog closes and the background map is displayed in the GeoPlan.
  12. Zoom to the new estate. This is highlighted on this GeoPlan example:
  13. ClosedShow me

    Note that there are currently no nodes or links serving this area of the network.

  14. To import the 'missing' nodes and links to this network from a CSV file:
    1. Select Network | Import | Update from CSV Files and the Import/Update from CSV Data dialog box is displayed:

      ClosedShow me

    2. Click OK to use the default values for the import operation. You are now requested to select the CSV files to import:
    3. ClosedShow me

    4. From the Example Data Directory, select 'Tutorial Files/Import Files/CSV Data/NewEstate.csv' and click Open.
    5. ClosedShow me

      The selected 'NewEstate.CSV' file is imported. It is possible to import another CSV file but this is not required.

    6. Click Cancel to close the window. A window is displayed, detailing the number of objects (nodes and links) that have been created.
    7. ClosedShow me

    8. Click to close the window.
  15. Switch off the display of the background map(s). ClosedTo make any background map or layer invisible, right-click anywhere on the GeoPlan and select GIS Layer control from the pop-up menu. In the GIS Layers Control dialog, remove the check from the Visible box (by clicking it) which will hide the layer. Click OK to accept the change and close the dialog.
  16. You can now see that the imported data forms a small network connected to the existing network:

    ClosedShow me

  17. Commit the changes to the network but do not validate it. ClosedSelect and then right-click the 'Langley Catchment - New Estate' item in the Explorer Window. Select the Commit changes to master database option from the pop-up menu. The Commit Changes dialog is displayed into which you can add a comment about the update. Select OK to commit the changes. A message is then displayed asking if you want to validate the network. Select No.
  18. Close the GeoPlan window by clicking .


Back Back to flowchart


Comparing Networks

Using the GeoPlan View

Changing the current map control