Import / Update CSV Data Dialog

This dialog allows you to set options when importing network data from CSV fileComma Separated Variable file format is a standard file format that can be imported and exported by many software packages. Many types of data can be imported and exported using csv format by InfoWorks ICM.. Data can be marked with a specific flag if the field does not already have a corresponding flag field in the CSV data.

To display this dialog, select Import | Update from CSV files from the Network menu with a network open.

ClosedShow me

Type of Update

The choices are:

Update and Add

Updates network objects that already exist in the network and adds objects that do not exist.

Delete

The primary key fields in the CSV data are used to identify the network objects for deletion. Other fields are ignored.

Mixed (based on data field)

Mixed mode uses an additional field - Action- in the CSV data.

If the field contains the character - (minus), the network object will be deleted in the same way as in the Delete option.

If the field is blank, the network object is added or updated as in the Update and Add option.

Unspecified Units are:

Choose whether to import fields without units information using the current user units or as InfoWorks ICM native units.

If the data was originally exported from InfoWorks ICM, any user units are only stored for a specific user on a specific machine. If you are a different user on a different machine it is up to you to ensure that units agree.

When exporting data for subsequent import or update we recommend the use of InfoWorks ICM native units for portability.

Flag to use for new / updated data:

This flag should be used for new or updated data added to the network from the CSV file. You can either use the default #V flag, or create your own flag in advance using the User Defined Flags dialog.

The chosen flag is used if the CSV field does not have a corresponding flag field. If the CSV data contains a flag field, the flag from CSV is used, even if the flag is unset.

Only update existing data that has flag:

Only update existing data that is flagged with the selected flag.

Block Headers:

Select the format of the table header lines in the CSV file from the following options:

  • IDs: Select this option if only the Database field name is included as a header in the CSV file.
  • IDs, Descriptions: The Descriptions line will be ignored on import.
  • IDs, Units: The importer will read the Units line. Any suitable units for a field will be used on import, otherwise the units chosen in the Unspecified units are: section will be used.
  • IDs, Descriptions, Units: The importer ignores the Descriptions line. The Units line is read and used as described above.

Only flag genuine changes to data values

Do not set the flag if the updated parameter has not changed.

Allow blank fields in CSV to overwrite existing data

Self explanatory. Fields that are not listed in the CSV file are ignored completely. Only fields that are listed in the CSV are affected.

Renaming of node forces renaming of connected links

If you do not choose this option you will lose the following connections for nodes whose names have changed:

  • Network connectivity information for links connected to the nodes
  • Link with subcatchment(s) that drain to this node

Update uses Asset ID field to identify data items

The Asset ID field of the object in the master database is used instead of the object's InfoWorks ICM ID (NodeID or USNode.DSNode.Suffix for example) when applying changes to existing records and identifying duplicate records.

Use digitisation defaults

Digitisation default values are used for fields of added network objects that do not already have a value in the CSV file.

Use UTF8 encoding

Indicates that the CSV files to be imported are using the UTF-8 encoding system.

Importing from CSV Files

Data Flags