IBM DB2 Spatial Reader Parameters
Database Connection
This is the ODBC Ddata Source Name (DSN) as configured using the DB2 client software.
Enter the username and password to access the database, user account, or wherever authentication is required.
Note: If the username and password are already set as part of the ODBC DSN entry, there is no need to re-enter the username and password here.
The time (seconds) after which to terminate a query to the database if it has not yet returned a connection/result.
If it is set to 0, there is no timeout. The default is 30.
If this parameter is unset, then Table List will show tables from the current schema associated with the DSN entry.
If this parameter is set, then Table List will show tables from all the selected schemas.
This parameter is also present in the Navigator Pane, where it specifies the schemas on which the Merge Filter operates.
Constraints
After you have specified the database connection, click the Browse button to select tables to import. A connection window appears while the system retrieves the table list from the database.
Once the table list appears, you can select one or more tables, and then click OK to dismiss the window. The table name(s) will appear in the Table List field.
Enter any SQL WHERE clause that constrains the row selection in tables chosen in the Table List (for example, NUMLANES=2).
Schema Attributes
Use this parameter to expose Format Attributes in Workbench when you create a workspace:
- In a dynamic scenario, it means these attributes can be passed to the output dataset at runtime.
- In a non-dynamic scenario where you have multiple feature types, it is convenient to expose additional attributes using this one parameter. For example, if you have ten feature types and want to expose the same attribute in each one, it is easier to define it once than it is to set each feature type individually in the workspace.
Using the minimum and maximum x and y parameters, define a bounding box that will be used to filter the input features. Only features that intersect with the bounding box are returned.
If all four coordinates of the search envelope are specified as 0, the search envelope will be disabled.
When selected, this parameter removes any portions of imported features being read that are outside the Search Envelope.
The example below illustrates the results of the Search Envelope when Clip to Search Envelope is not selected (set to No) and when it is selected (set to Yes).
- No: Any features that cross the search envelope boundary will be read, including the portion that lies outside of the boundary.
- Yes: Any features that cross the search envelope boundary will be clipped at the boundary, and only the portion that lies inside the boundary will be read. The underlying function for the Clip to Search Envelope function is an intersection; however, when Clip to Search Envelope is selected, a clipping operation is also performed in addition to the intersection.