Exporting Data to Oracle

The Open Data Export Centre allows data to be exported from InfoWorks ICM to a variety of formats including Oracle database.

Note

The minimum version of Oracle supported for export without spatial data is Oracle 8i. To export spatial data a minimum version of Oracle 9.2 is required.

In addition to exporting data to a new Feature Class, the Open Data Export Centre can be used to update an existing Feature Class.

Exporting to a New Feature Class

The Open Data Export Centre can be used to export InfoWorks ICM tables to a new Feature Class in an Oracle database. Further details of export options are listed in the Open Data Export Centre topic.

To export to a new Feature Class:

  1. In the Open Data Export Centre Dialog select the InfoWorks ICM table to be exported from the Table To Export Data From dropdown.
  2. Select the Oracle option from the Export Type dropdown in the Export Data To section.
  3. Use the File browse button to connect to an existing database. The Select Oracle Data Dialog will be displayed.
  1. In the Select Oracle Data Dialog, connect to an existing database, select the user tables to view and click OK.
  2. In the Open Data Export Centre Dialog, type in the name of a new Feature Class to which the data is to be exported.
  3. Map InfoWorks ICM internal fields to Feature Class export fields by loading a configuration file or by manually mapping the fields in the Field Mapping Grid.
  4. Click the Export button.

The specified Feature Class will be created and InfoWorks ICM data will be exported to it.

Updating an Existing Feature Class

In addition to exporting data to a new Feature Class, the Open Data Export Centre can be used to update an existing Feature Class.

In order to update an existing Feature Class, the user must either own the table, or have been granted the appropriate permissions in Oracle to update the table. Tables for which the user does not have the appropriate permission will not be available for selection in the Open Data Export Centre.

ClosedShow me

To update an existing Feature Class:

  1. In the Open Data Export Centre Dialog, use the File browse button to connect to an existing database. The Select Oracle Data Dialog will be displayed.
  1. In the Select Oracle Data Dialog, connect to an existing database, select the user tables to view and click OK.
  2. In the Open Data Export Centre Dialog, select an existing Oracle Database Feature Class from the Feature Class dropdown list. The Updating and Delete Options section will become enabled.
  3. Map InfoWorks ICM internal fields to Feature Class export fields by loading a configuration file or by manually mapping the fields in the Field Mapping Grid. In the Field Mapping Grid:
  4. Map update keys - select the fields to be used to locate items for update in the specified Feature Class. The Update Based On dropdown list contains all update mapping options applicable to the current Table to be Exported:
  5. Set Only Update Existing Objects option:
  6. Set Delete Missing Objects option:
  7. Set Update using changes from a previous version of the network option:

    • Check the Update using changes from a previous version of the network box to compare the current version of the network with a selected previous version of the network. Differences in objects, identified by the comparison, will be applied to the external data table.

  8. Click the Export button to export data from InfoWorks ICM to the specified Feature Class. All fields, except mapped update keys will be updated in the Feature Class.

Notes

Errors and warnings may be displayed after export listing details of row objects that have not been updated. Examples of reasons for update failures are listed below.

After carrying out a deletion, a summary of the export process is displayed including a count of items deleted from the target database.

The summary provides information on the following:

Exporting Spatial Data

When connected to an Oracle server with Oracle Spatial loaded, the geometry of InfoWorks ICM objects can be exported by including an export field of field type Geometry in the Field Mapping Grid of the Open Data Export Centre dialog.

Open Data Export Centre

Exporting SQL Expressions

Exporting Array Data

Exporting Data to XML

Exporting Data to GeoDatabase

Exporting Data to SQL Server