Add data from an ArcGIS connection

Next to SQL, ODBC or Oracle connections, it is also possible to build up an ArcGIS connection. With an ArcGIS connection you can directly access GIS data in a Personal Geodatabase, a Filebased Geodatabase and in SDE. For more details on the ArcGIS connection see chapter ArcGIS Connection.

 

 

Click on New Connection … to add an ArcGIS connection. From the Select Type of Connection dialog, choose the ArcGIS connection.

Adding an ArcGIS connection

Adding an ArcGIS connection

 

Define a name for the connection and click on the Build… button.

Define connection name

Define connection name

 

Choose the Workspace Type. As metioned, you have three GIS Workspace type to choose:

Pgdb (Personal Geodatabase)

Fgdb (Filebased Geodatabase)

SDE (ArcSDE Database)

Choose workspace type

Choose workspace type

 

Select the data source where your database is located.

Choose data source

Choose data source

 

Now you have defined all necessary settings for the ArcGIS connection and are ready to test the connection. Click on Test Connection and then click on OK.

The connection string of the ArcGIS connection was filled in automatically.

Connection string – ArcGIS connection

Connection string – ArcGIS connection

 

Click OK. The connection has been established. Now you can add the data sources. Click on New Data Source … and choose the ArcGIS connection from the data source dialog.

Choose data source

Choose data source

 

In the Select data dialog we recognize that our Feature Classes are not listet as tables, only the database tables are listed. The Feature Classes are missing because the Select Statement has to be done manually. For tha,t click on the button New Query.

Select data

Select data

 

In the New data source dialog define a name for the data source (e.g. houses). We know that the Feature Class we need, has the name “HFL”. Therefore, the select statement looks as followed:

Select * from HFL

Click on the button Retrieve Columns to get the columns of the Feature Class. After that click the OK button.

Define Select statement

Define Select statement

 

You get back to the select data dialog. Now the new table is listed and you can choose it, by enabling it.

Select data - query

Select data - query

 

After that the data source is available as data source in the Dictionary tab of the designer, and you work with the data.