IBM Informix Spatial Writer: Feature Type Parameters
To access feature type parameters, click the gear icon on a feature type in the workspace to open the Feature Type Parameter Editor. To always display the editor in Workbench, you can select View > Windows > Parameter Editor.
General
All feature types share similar General parameters, which may include the Feature Type Name, Reader or Writer Name, and Geometry.
In most Writer Feature Type parameter dialogs, you can also control Dynamic Schema Definitions. Some database formats accept a Table Qualifier prefix on the output table feature type.
See Editing Writer Feature Types for more information.
These parameters apply only to a selected feature type, not to the entire writer.
Tip: If a feature type parameter listed here conflicts with a writer-level parameter, then the writer parameter will be ignored and this feature type parameter will be used.
General
This parameter specifies the type of geometry for features to be written to the destination table.
infx_type |
Database Type(s) |
FME Representation |
infx_none |
Not applicable |
No geometry |
infx_geometry |
Allows geometries of any of the specific types (points, multipoints, lines, etc.) to be written to the same table. |
|
infx_linestring |
LINESTRING |
Single line geometry. fme_geometry = fme_line fme_type = fme_line |
MULTILINESTRING |
An aggregate of linestrings. fme_geometry = fme_aggregate fme_type = fme_line |
|
infx_point
|
POINT |
Single point geometry. fme_geometry = fme_point fme_type = fme_point |
MULTIPOINT |
Aggregate containing one or more points. fme_geometry = fme_aggregate fme_type = fme_point |
|
infx_polygon
|
POLYGON |
A single polygon or donut geometry. fme_geometry = fme_polygon or fme_donut fme_type = fme_polygon |
MULTIPOLYGON |
An aggregate of simple polygons or donut polygons. fme_geometry = fme_aggregate fme_type = fme_polygon |
When appending to an existing table, if the value of this parameter is incompatible with the geometry column type of the spatial column in the existing table, expect translation failure.
When inserting a geometry, if the type of the geometry is incompatible with the value of this parameter, the translation will fail.
The Format Parameter Write As Multi (see below) modifies this parameter.
Table Settings: General
- No: The table will be created if it does not exist.
- Yes: The table will be dropped if it exists, then created.
- Truncate: If the table does not exist, it will be created. If the table does exist, then all its rows will be deleted.
This parameter instructs the writer to perform Update operations on the table.
The parameter is a comma-separated list of column names (for example, ID,NAME). These column names are used to match the same-named attributes on an input feature against rows in the destination table. Matching rows in the destination table will be updated by the attribute values of the input feature.
Note: If this parameter and Delete Key Columns are both supplied, the translation will fail.
This parameter instructs the writer to perform Delete operations on the table.
The parameter is a comma-separated list of column names (for example, ID,NAME). These column names are used to match the same-named attributes on an input feature against rows in the destination table. Matching rows in the destination table will be deleted.
Note: If this parameter and Update Key Columns are both supplied, the translation will fail.
Table Settings: Spatial
This parameter specifies the name of a spatial column. If this parameter is left empty, it will inherit from the writer parameter Spatial Column.
This parameter is in effect only when creating a new table.
This parameter is a modifier for the Geometry parameter when its value is one of infx_linestring, infx_point, or infx_polygon.
This parameter can cause these Geometry values to be treated as MULTIPOINT, MULTILINESTRING, and MULTIPOLYGON, respectively.
In the table below, the behavior of this parameter is described in the context of Geometry = infx_point.
Yes |
All incoming points will be written out as MULTIPOINT geometries. All single-level point collections will be written out as MULTIPOINT geometries. All nested point collections will be written out as GEOMETRYCOLLECTIONs. |
No |
All incoming points will be written out as POINT geometries. All incoming collections of points, including nested point collections, will be flattened and written out, one row per point. |
First Feature |
The first input feature determines whether this parameter is set to Yes or No:
|
Geometry type mismatches result in translation failure. See Geometry above for details.
Advanced
Specifies a fixed width for the spatial column.
Any feature whose geometry is larger than this size will be dropped. If this parameter is not specified, then on insertion, the spatial column width will be automatically expanded in size, as needed, up to the maximum size of 64000 bytes.