GRD Attributes

下表列出了ll common GRD attributes returned on all features produced by the FME reader. If these attributes are present on any feature written out to GRD, they will be used to set the appropriate values in the output file.

Field Name

Description

grd_vector_type

This is the type of vector. Maximum size is 10 characters. When reading GRD files, the value is one of the following:

POINT, LINE, PLINE, RECT, CIRCLE, ELLIPSE, ARC, INSERT, TEXT, INK, or MS-PLINE

grd_pen_width._type

This is the type of pen width used to plot the vector. Maximum size is 10 characters. The default is0。值与以下类型相关联:

0 = USE LAYER

1 = HAIRLINE

2 = VIRTUAL

3 = PIXEL

grd_pen_width.

This is the width of the pen used to plot the vector. This value is interpreted differently depending on the pen width type. The default is1

范围:Any real number.

grd_pen_color

这是用于绘制载体的笔的颜色。请参阅标题下的信息Colors对于每个颜色的描述。默认为0(black).

范围:0-18

grd_brush_color

这是用于绘制载体的刷子的颜色。请参阅标题下的信息Colors对于每个颜色的描述。注意颜色16isTRANSPARENT。默认为0(black).

范围:0-18

grd_brush_type.

This is the type of brush used for this vector. The default is0(坚硬的)。值与以下类型相关联:

0 =固体

1 =对角线#1

2 = CROSS

3 = DIAGONAL COORD

4 =对角线#2

5 = HORIZONTAL

6 = VERTICAL

7 = USE LAYER'S BRUSH TYPE

8 =使用块的刷类型

范围:0-8

grd_reserved

Boolean flag indicating whether the预订的设置了此矢量的位。默认为错误的。

范围:True | False

grd_added

Boolean flag indicating whether theIsAdded设置了此矢量的位。默认为错误的。

范围:True | False

grd_has_extra_data.

Boolean flag indicating whether theHasExtraData设置了此矢量的位。默认为错误的。

范围:True | False

grd_visible.

Boolean flag indicating if theIsVisible设置了此矢量的位。默认为True.

范围:真实|错误的

grd_selected

Boolean flag indicating whether theIsSelected设置了此矢量的位。请注意,此设置在FieldNotes应用程序中是不可靠的。默认为错误的

范围:True | False

grd_changed

Boolean flag indicating if the累积了设置了此矢量的位。默认为错误的。

范围:True | False

grd_has_annotation

Boolean flag indicating if theHasAnnotation设置了此矢量的位。默认为错误的。

范围:True | False

grd_vector_handle

This integer is the vector handle. The default is0

范围: 0 - (2^33-1)

grd_annotation_string.

This string holds the annotation for the vector. Maximum size is 254 characters. There is no annotation by default.

grd_annotation_x.

grd_annotation_y.

grd_annotation_z.

This is the location of the annotation for the vector. The defaults are all zero.

范围:Any real number.

grd_linetype_name.

This is the name of the linetype used to display the vector. The linetype must be defined in the workspace or the template file being used. The default linetype is to use the layer’s linetype. Maximum size is 50 characters.

grd_database_key

This is a key string that links the vector to a database. The format of, and relationship between, the database and the feature is beyond the scope of the GRD reader or writer. Maximum size is 254 characters.

grd_layers_pen_width_type

在读取GRD文件时,此布尔标志指示笔宽是否从图层中取出,或者是否具体设置在该功能上。编写GRD文件时,此布尔标志表示该功能是否应使用图层的笔宽或专门设置自己的。默认为错误的。

范围:真实|错误的

grd_layers_pen_color

When reading GRD files, this boolean flag indicates whether the pen color was taken from the layer or if it was specifically set on the feature. When writing GRD files, this boolean flag indicates if the feature should use the layer’s pen color or specifically set its own. The default is错误的。

范围:真实|错误的

grd_blocks_pen_color

读取GRD文件时,此布尔标志表示笔颜色是否从块中取出,或者如果它在该功能上专门设置。编写GRD文件时,此布尔标志指示功能是否应使用块的笔颜色或专门设置自己的块。默认为错误的。

范围:True | False

grd_layers_brush_color

在读取GRD文件时,此布尔标志表示刷子是否从图层中取出,或者是否专门设置在该功能上。编写GRD文件时,此布尔标志表示该功能是否应使用图层的刷子颜色或专门设置自己的。默认为错误的。

范围:真实|错误的

grd_blocks_brush_color

读取GRD文件时,此布尔标志指示从块中取出刷子或者是否专门设置在该功能上。编写GRD文件时,此布尔标志表示该功能是否应使用块的刷子颜色或专门设置自己的块。默认为错误的。

范围:True | False

grd_layers_brush_type

When reading GRD files, this boolean flag indicates if the brush type was taken from the layer or if it was specifically set on the feature. When writing GRD files, this boolean flag indicates if the feature should use the layer’s brush type or specifically set its own. The default is错误的。

范围:True | False

grd_blocks_brush_type

When reading GRD files, this boolean flag indicates if the brush type was taken from the block or if it was specifically set on the feature. When writing GRD files, this boolean flag indicates if the feature should use the block’s brush type or specifically set its own. The default is错误的。

范围:True | False

grd_layers_linetype.

When reading GRD files, this boolean flag indicates if the linetype was taken from the layer or if it was specifically set on the feature. When writing GRD files, this boolean flag indicates if the feature should use the layer’s linetype or specifically set its own. The default is错误的。

范围:True | False

grd_linetype_description

这是用于此向量的线型的文本描述。请参阅标题下的讨论Linetypesfor detailed descriptions. The linetype must be defined in either the mapping file or the template file being used. By default, the layer’s linetype is used. Maximum size is 80 characters, with a maximum of 12 entries.

Example:“__ __ ______ .__ __”