CSV Writer: User Attributes

For information on the parameters in this dialog that are common to all readers, see:

For information on the parameters in this dialog that are common to all writers, see:

Usage Notes

  • Selecting the option All Attributes overrides the content shown in the workspace's User Attributes table. Rather than reading the displayed attributes, that information is discarded, and FME will read the attributes it finds in the dataset.
  • Since the reader cannot know in advance what the schema is, the actual schema is determined by the Schema Generation options. In the Reader Parameters, there is an option to Scan for Types. By default, this option is set to No, but when it is set to Yes, the reader will try guessing the type of each attribute, including x, y, and z_coordinates. If you set that option to Yes when adding the reader, it will apply even when reading All Attributes.
  • When the CSV reader is added as a Merged Feature Type, All Attributes is the default setting. In this case, manually specifying Feature Types to Read may improve performance.

User Attribute Types

The following table shows the supported attribute types.

Name

The name of the file to be written.

Type

Choose one of the following field types. (For more information, see FME Data Types).

  • boolean
  • int8
  • int16
  • int32
  • int64
  • real32
  • real64
  • string
  • uint8
  • uint16
  • uint32
  • uint64
  • x, y, z-coordinate: Coordinate fields store 64-bit floating point values used to create the x, y, and (optionally) z coordinates of a point geometry for the row. The point geometry will be created in addition to the attributes of coordinate types.

Note that attributes written to CSV will always be stored as strings. Selecting a non-string type simply ensures that the value written will be compatible with the selected type. For example, the uint8 type supports integer values between 0 and 255. If a feature has a value of 300 for an attribute with a uint8 type, the value will be written as an empty string.