You are here: Popular Formats > CSV (Comma-Separated Value) Reader/Writer > Feature Representation

CSV (Comma-Separated Value) Feature Representation

In addition to the generic FME feature attributes that FME Workbench adds to all features (see About Feature Type Attributes), this format also adds format-specific attributes (Format Attributes).

The CSV feature attributes consists of the columns that were in the CSV table.

All CSV features contain a csv_type attribute (which is always set to csv_none because CSV features do not contain geometry). This attribute represents that the feature was generated from a CSV file.

Attribute Name

Contents

csv_type

The CSV geometric type of this entity.

Range: csv_none

Default: csv_none

csv_line_number

(Reader only)

Line number within the file, starting at 1.

csv_number_of_fields

(Reader only)

The number of non-empty field values obtained for the source row in the CSV file.

csv_skipped_line

(Reader only)

The content of skipped lines, when Read Skipped Lines is set to Yes.

csv_total_number_of_columns

(Reader only)

The total number of columns, regardless of content, obtained from the source row in the CSV file.