Writer Feature Type Properties: User Attributes
For information on the parameters in this dialog that are specific to all formats, see About Writer Feature Types: User Attributes
The file names of the physical IFF files are constructed by using the folder specified in the Reader Dataset, the basename specified in the IFF feature type properties, and the .iff extension.
The following table shows the attribute types that are supported.
Name |
The name of the IFF file to be written. |
Type |
Choose one of the following field types. char(<width>)
Character fields store fixed-length strings. The width parameter controls the maximum number of characters that can be stored by the field. No padding is required for strings shorter than this width. double
Double fields store 8-byte floating point values. float
Float fields store 4-byte floating point values. There is no ability to specify the precision and width of the field. integer
Integer fields store 32-bit signed integers. logical
Logical fields store TRUE/FALSE data. Data read or written from and to such fields must always have a value of either true or false. number(<width>,<decimals>)
Number fields store single and double precision floating point values. The width parameter is the total number of characters allocated to the field, including the decimal point. The decimals parameter controls the precision of the data and is the number of digits to the right of the decimal. smallint
Small integer fields store 16-bit signed integers and therefore have a range of -32767 to +32767. |
Width |
The width parameter controls the maximum characters that can be stored by the field. For the number type, the width parameter is the total number of characters allocated to the field, including the decimal point. |
|
|
Index |
Writing Attribute Indexes The Shapefile writer can index shape data by attribute and produce attribute index files. These files are named as <featureClass>.<attributeName>.atx. FME attempts to index all attributes that are flagged as INDEX in the user attributes tab of the Shapefile Feature Type Properties.
Any attribute of type char or number that is indexed must be maximum 80 characters wide. Additionally, attribute names cannot contain characters that are illegal in Windows filenames. If any attributes are flagged for indexing, FME automatically produces spatial index files for the feature type, regardless of the Write Spatial Index setting in the writer parameters dialog. For more information, see the writer parameter Write Spatial Index. Writing attribute indexes requires that FME is running on a machine with ArcGIS installed. |