读者指令

The suffixes listed are prefixed by the current在映射文件中。默认情况下,for the GenaMap reader isGENAMAP.

DATASET

必需的/Optional:必需的

此指令的值是GenamAP .FH文件。

Example:

一个典型的映射文件片段,指定输入Genamap类型4数据集文件夹如下所示:

genamap_dataset /usr/data/genamap/zf04/map/map.fh.

Workbench参数:Source Genasys GenaMap File(s)

FORCE_ATTR_HOOKUP

必需的/Optional:可选的

如果读取类型4或类型5映射,即使acc /节点映射标题状态不完整,即使acc / node映射标题状态也不完成,则强制读者尝试翻译类型3映射。

Valid values:是的| NO

Example:

The following forces the reader to attempt reading the Type 3 maps, effectively ignoring the attribute hookup status flag for the arc/node maps:

genamap_force_attr_hookup是的

SCALE_OF_TRUE_DISPLAY

必需的/Optional:可选的

此指令允许用户覆盖Genamap Map报头中找到的真实显示的比例。这对于更准确地控制产生的文本特征的文本大小可能是有用的。

Valid values:positive integers

Example:

GENAMAP_SCALE_OF_TRUE_DISPLAY 1000

alplent_text_coords_to_lower_left.

必需的/Optional:可选的

This directive allows the reader to align all text features into a lower-left justification. The original text justification may be found in the text feature’sgenamap_original_justificationattribute.

Valid values:是的| NO

If the automatic transformation for all text features into lower-left justification is not desired, then this keyword should be set to.

Default:是的

Example:

The GenaMap justification in this case may also be found in the text feature’sgenamap_original_justificationattribute.

GENAMAP_ALIGN_TEXT_COORDS_TO_LOWER_LEFT NO

data_in_big_endian.

必需的/Optional:可选的

This directive allows the reader to specify that the data is in big endian or little endian.

Valid values:是的| NO

Default:是的

Example:

The following specifies that the data to be read in is little endian:

GENAMAP_DATA_IN_BIG_ENDIAN NO

Workbench参数:Data in Big Endian

TEXT_TRANSFORM_AFFINE_COEFF

必需的/Optional:可选的

Allows the user to specify the coefficients for a 2D affine transformation that is to be performed on a GenaMap text feature coordinate. Affine transformations include translations, rotations, scalings, and reflections. One of the uses of this directive is to allow shifting the position of the text coordinate in any direction on the x or y axis.

Values:

The range of values for this directive are:“a b c d e f”wherea,b,c,d,e,f必须是实数,空白分开,并在双引号内括起来。a, b, c, d, e,fare coefficients for the equations:

x'= ax + by + c y'= dx + ey + f

Default:

以下将使所有文本坐标读取5个单位的y轴:

GENAMAP_TEXT_TRANSFORM_AFFINE_COEFF “1 0 0 0 1 -5.0”

可以根据其Genamap对准的值选择性地在文本的坐标上应用仿射变换。以下九指令可以与之结合使用,但将覆盖通用的仿射变换TEXT_TRANSFORM_AFFINE_COEFF指示:

  • text_transform_coeff_ll.- Applies the specified affine transformation to GenaMap text features having lower-left justifications.
  • text_transform_coeff_lc.- Applies the specified affine transformation to GenaMap text features having lower-center justifications.
  • text_transform_coeff_lr.- Applies the specified affine transformation to GenaMap text features having lower-right justifications.
  • TEXT_TRANSFORM_COEFF_CL- 将指定的仿射转换应用于具有核心左声明的Genamap文本功能。
  • TEXT_TRANSFORM_COEFF_CM- 将指定的仿射转换应用于具有中间语质的Genamap文本特征。
  • TEXT_TRANSFORM_COEFF_CR- Applies the specified affine transformation to GenaMap text features having center-right justifications.
  • text_transform_coeff_uref.- Applies the specified affine transformation to GenaMap text features having upper-left justifications.
  • text_transform_coeff_uc- Applies the specified affine transformation to GenaMap text features having upper-center justifications.
  • text_transform_coeff_ur.- Applies the specified affine transformation to GenaMap text features having upper-right justifications.

例如,以下指令在Y轴下换下左下方的文本5个单位,而具有其他理由的文本将移位10个单位向上y轴:

GENAMAP_TEXT_TRANSFORM_AFFINE_COEFF_LL “1 0 0 0 1 -5.0” GENAMAP_TEXT_TRANSFORM_AFFINE_COEFF “1 0 0 0 1 10.0”

SEARCH_ENVELOPE

使用最小和最大X和Y参数,定义将用于过滤输入功能的边界框。只返回与边界框交互的功能。

If all four coordinates of the search envelope are specified as 0, the search envelope will be disabled.

Mapping File Syntax

_search_envelope

Note:If all four coordinates of the search envelope are specified as zero, the search envelope will be disabled.

必需的/Optional

可选的

Workbench Parameter

Minimum X, Minimum Y, Maximum X, Maximum Y

SEARCH_ENVELOPE_COORDINATE_SYSTEM

该指令指定如果它与数据的坐标系不同,则指定搜索信封的坐标系。

TheCOORDINATE_SYSTEM指令指定与要读取的数据关联的坐标系,必须始终设置SEARCH_ENVELOPE_COORDINATE_SYSTEMdirective is set.

If this directive is set, the minimum and maximum points of the search envelope are reprojected from theSEARCH_ENVELOPE_COORDINATE_SYSTEM到读者COORDINATE_SYSTEMprior to applying the envelope.

必需的/Optional

可选的

Mapping File Syntax

_SEARCH_ENVELOPE_COORDINATE_SYSTEM

Workbench Parameter

Search Envelope Coordinate System

clip_to_envelope.

This directive specifies whether or not FME should clip features to the envelope specified in theSEARCH_ENVELOPE指示。

Values

是的| NO (default)

Mapping File Syntax

_CLIP_TO_ENVELOPE [yes | no]

Workbench Parameter

Clip To Envelope

expost_attrs.

此指令允许将格式属性的选择进行明确添加到读取器功能类型。

一旦生成,这类似于读取器功能类型上的曝光格式属性类似;但是,它甚至更强大,因为它使WorkBench以外的模式驱动的应用程序能够访问和利用这些属性,就好像它们在架构上显式作为用户属性一样。

The result of picking a list of attributes is a comma-separated list of attribute names and types that will be added to the schema features. Currently all reader feature types will receive the same set of additional schema attributes for a given instance of the reader.

必需的/Optional

可选的

Mapping File Syntax

不适用。

虽然FME对象应用程序可以调用此指令,但未记录所需格式。

This directive is intended for use in our GUI applications (for example, Workbench) only.

Workbench Parameter

Additional Attributes to Expose