Points

grd_type: grd_point

GRD point features represent single point features and may be either 2D or 3D. These features have the following special attributes associated with them.

Attribute Name

Contents

grd_virtual_size

This is the size the point should appear when plotted.

Range: Any real number

grd_point_type

This is the symbology of the point when plotted. The value here may be the sum of any one of the internal types and any one of the outline types.

Internal Types:

0 = dot

1 = none

2 = plus

3 = cross

4 = vertical line

Outline Types:

0 = none

32 = circle

64 = square

96 = cirsquare

Range: 0 - 100

grd_type: grd_ink

GRD ink features represent a raster picture or image. Their geometry is a point that indicates the lower-left point where the ink should be located. Ink features may have the following special attributes associated with them.

Attribute Name

Contents

grd_ink_data

This attribute contains the ink data. This is usually binary data stored in a string attribute, so typical string manipulation with this attribute may not be appropriate.

grd_width

This is the width of the ink data.

Range: Any real number

grd_height

This is the height of the ink data.

Range: Any real number

grd_type: grd_insert

GRD insert features represent a block of features linked together. The geometry of this point consists of a point that indicates the location of the insert block. Inserts may also have any number of attributes associated with them (as defined in the block definition of the file). These attributes will appear on the feature with the attribute names as defined. When writing insert attributes to GRD files, attributes with the prefix grd_insert_attribute{N} are first searched for necessary information. If these attributes are not found, then attributes with the prefix fme_attrib_info{N} are sought. Insert features may also have the following special attributes associated with them.

Attribute Name

Contents

grd_block_name

This attribute contains the name of the insert that holds all associated vectors together. If used with a <reader keyword>_TEMPLATE_FILE setting when writing GRD files, inserts may use blocks that have already been defined elsewhere. Maximum size is 254 characters.

grd_rotation

This is the rotation of the insert block, in degrees counterclockwise.

Note: Ellipses must have a rotation that is a multiple of 90 degrees. Therefore, when writing out to GRD, if an insert refers to a block that has an ellipse in its definition, the rotation of the insert is rounded to the nearest multiple of 90 degrees when it is output.

Range: 0 .. 360.0

grd_scale_x

grd_scale_y

grd_scale_z

This is the scale of the insert block—a scaling factor applied to the ground units that block is defined in. Either the scale or the size of inserts must be specified.

Range: Any real number

grd_size_x

grd_size_y

grd_size_z

This is the desired size of the insert block’s bounding box, in ground units. Either the scale or the size of inserts must be specified. If both are specified, the size settings are ignored.

Range: Any real number

grd_insert_attribute{N}.field_name

fme_attrib_info{N}.field_name

These list attributes hold the name of the Nth attribute.

Range: text string

grd_insert_attribute{N}.field_type

fme_attrib_info{N}.field_type

These list attributes hold the type of the Nth attribute.

1=DOUBLE

2=LONG

3=STRING

4=LOGICAL

5=DATE

6=TIME (unsupported)

7=MONEY (unsupported)

8=MEMO

9=BLOB

10=DATETIME (unsupported)

Range: integer

Default: 3

grd_insert_attribute{N}.field_size

fme_attrib_info{N}.field_size

These list attributes hold the size of the Nth attribute.

Range: integer

grd_insert_attribute{N}.num_decimal_
places

fme_attrib_info{N}.num_decimal_
places

These list attributes hold the number of decimal places in the value of the Nth attribute (if appropriate).

Range: text string

grd_insert_attribute{N}.default_
value

fme_attrib_info{N}.default_value

These list attributes hold the default value of the Nth attribute.

Range: text string

grd_insert_attribute{N}.isVisible

fme_attrib_info{N}.isVisible

These list attributes indicates whether the Nth attribute should be displayed or not.

Range: TRUE | FALSE

grd_insert_attribute{N}.color

fme_attrib_info{N}.color.red

fme_attrib_info{N}.color.green

fme_attrib_info{N}.color.blue

These list attributes hold the color of the Nth attribute. The GRD attribute holds the color based on GRD color codes. The FME attributes hold the color in RGB values, ranged between 0.0 and 1.0.

Range: integer (GRD color); real number 0.0-1.0 (FME color

grd_insert_attribute{N}.locationX

grd_insert_attribute{N}.locationY

grd_insert_attribute{N}.locationZ

fme_attrib_info{N}.location_x

fme_attrib_info{N}.location_y

fme_attrib_info{N}.location_z

These list attributes hold the plotting location of the Nth attribute.

Range: real number

grd_insert_attribute{N}.height

fme_attrib_info{N}.height

These list attributes hold the display height of the Nth attribute.

Range: real number

grd_insert_attribute{N}.rotation

fme_attrib_info{N}.rotation

These list attributes hold the display rotation of the Nth attribute.

Range: real number

grd_insert_attribute{N}.horizontal_
align

This list attribute holds the display horizontal alignment of the Nth attribute.

0=CENTER

1=LEFT

2=RIGHT

Range: integer

Default: 0

grd_insert_attribute{N}.vertical_
align

This list attribute holds the display vertical alignment of the Nth attribute.

0=CENTER

1=TOP

2=BOTTOM

3=BASELINE

Range: integer

Default: 3

fme_attrib_info{N}.justification

This list attribute holds the display justification of the Nth attribute. The value it can have is one of the following:

baseline_middle

baseline_right

bottom_right

middle_right

top_right

baseline_left

bottom_left

middle_left

top_left

Range: text string

Default: baseline_middle