CSV File Formats

This topic contains details of the format for comma separated variable (CSV) files used in importing and exporting Network data.

The following sections are included:

General file formatting

Formatting details for specific field types

Text fields

Text fields must be contained in double quotation marks if they contain commas or other double quotation marks. Otherwise quotation marks are optional.

Arrays of values of a single type

Arrays of values of a single type, such as coordinates, can be defined as packed (as a single field) or as unpacked (each value is defined in a separate field).

Arrays of values containing more than one field

These arrays contain lists of values that describe more complex parts of particular objects, for example:

The arrays can be defined as packed (as a single field) or separately (in a separate block or separate file).

Using data exported from InfoAsset Manager

When CSV files are exported from InfoAsset Manager, you have the option to export descriptive field names and units information. These are exported as additional records placed before the data records. If you export files including these additional records, and then try to import them, InfoAsset Manager will try to interpret the additional data as normal data records. You will almost certainly get error messages telling you that values in the file have the wrong size or type.

The additional export options are there for your convenience when viewing InfoAsset Manager data in other packages. You should make sure that data you intend to import back into InfoAsset Manager is exported without these additional records. The Select CSV Export Options Dialog divides the options needed for re-import from the additional options and you should have no trouble exporting in the correct format. The additional records could also be removed by editing the file in another package prior to re-import.

Importing from CSV Files