Text

Generate files containing only text (annotation) features, consist of a series of lines that follow this syntax:

<idNumber>,<x>,<y>,<angle>,<size>,<text>

As with point files, the <idNumber> is any numeric value and need not be unique within a file. A Text generate file is terminated with the word END. A text Generate file example, containing two features, is shown below:

101,32,52,0,20,Arnet Maves
102,52,32,90,30,Barnie Maves
END

The attributes used by the generate reader and writer are described in the following table.

Attribute Name

Value

arcgen_rotation

Specifies the rotation of the text in degrees measured counterclockwise from horizontal.

Range: -360.0 . . . 360.0

Reprojectable: Yes

arcgen_text_size

The size of the annotation in ground units.

Range: Float > 0

Reprojectable: Yes

arcgen_text_string

The text string to be placed at the annotation location.

Range: Any text string

The example below shows an FME mapping file used to translate some points and linear features from the Generate format into Shape files. The mapping file defines the dataset location and gives the Generate definitions for the two files to be read. At run time, the Generate reader goes out to the folder, reads the files, and produces an FME feature for each Generate feature it finds.