Writer Directives

这directives processed by the MCF writer are listed below. The suffixes shown are prefixed by the currentin a mapping file. By default, the对于MCF作家是MCF.

DATASET

必需的/Optional:必需的

这value for this keyword is the folder where the DTO files are to be written. A typical mapping file fragment specifying an output MCF folder looks like:

_DATASET /usr/data/mexico/output

Workbench参数:目的星 - APIC MERCATOR MCF文件夹

def

必需的/Optional:Optional

这definition specifies only the base name of the file, the type of geometry it contains, and names and types of all attributes. The syntax of an MCFdef线是:

< WriterKeyword > _DEF < baseName > \
mcf_type mcf_line| \
mcf_area| \ mcf_point| \ mcf_text| \ mcf_external| \ mcf_job
[ ]+

这attribute types created by the MCF format are listed below.

Field Type

Description

char()

字符字段存储固定长度字符串。这width参数控制可以由字段存储的最大字符。当写入字符字段时,它是正确的填充空白或截断,以适合宽度。检索字符字段时,删除任何填充空白字符。

decimal(,

Decimal fields store single and double precision floating point values. Thewidthparameter is the total number of characters allocated to the field, including the decimal point. The小数点parameter controls the precision of the data and is the number of digits to the right of the decimal.

HORIZ_SIZE

必需的/Optional:Optional

这value for this keyword is the horizontal size of the dataset to be output into the job file. This value is in Mercator units. One Mercator unit is 1/256000 of an inch. If a feature of typemcf_jobcomes into the writer and this keyword is not set, then the job file will have the largest horizontal size from all of the job features. If this keyword is not specified and there are no input job features, the job file output will have the value shown below (A4 width in Mercator units). The syntax of an MCFHORIZ_SIZE线是:

_HORIZ_SIZE 2956651

Workbench参数:水平尺寸[可选]

VERT_SIZE

必需的/Optional:Optional

这value for this keyword is the vertical size of the dataset to be output into the job file. This value is in Mercator units. One Mercator unit is 1/256000 of an inch. If a feature of typemcf_job进入写作者并未设置此关键字,然后作业文件将具有来自所有作业功能的最大垂直大小。如果未指定此关键字并且没有输入作业特征,则作业文件输出将具有下面显示的值(A4宽度在Mercator单位)。MCF的语法VERT_SIZE线是:

_VERT_SIZE 2118144

Workbench参数:Vertical Size [optional]

OFFSET_X

必需的/Optional:Optional

此关键字的值是所有X-Cocordinates将被偏移的值。这是一个浮点值。对于MCF到MCF转换,该值设置为0.如果未设置此值,则编写器将计算其自己的偏移量以将坐标带到(0,0)的原点。MCF的语法OFFSET_X线是:

_OFFSET_X 0

所有MCF数据都是二维的。

Workbench参数:offset(x)

OFFSET_Y

必需的/Optional:Optional

这value for this keyword is the value by which all y-coordinates will be offset. This is a floating point value. For MCF-to-MCF translations, this value is set to 0. If this value is not set, then the writer will calculate its own offset to bring the coordinates to the origin of (0,0). The syntax of an MCFOFFSET_Y线是:

_OFFSET_Y 0

Workbench参数:Offset(Y)

SCALE_X

必需的/Optional:Optional

这value for this keyword is the value by which all x-coordinates will be scaled. This is a floating point value. A value of 1 will leave the x-coordinates of the incoming features as is. For MCF-to-MCF translations this value defaults to 1 but can be changed in the mapping file. If this value is not specified, then the writer calculates its own scale factor that is as large as possible to minimize the loss of precision when decimal coordinates are stored as integers in MCF when writing Version 6.4. The syntax of an MCFSCALE_X线是:

_cale_x 1

Workbench参数:Scale(X)

SCALE_Y

必需的/Optional:Optional

这value for this keyword is the value by which all y-coordinates will be scaled. This is a floating point value. For MCF to MCF translations this is default to 1 but can be changed in the mapping file. The writer flips the y-coordinates over the x-axis because of MCF’s origin. If this value is not specified, then the writer calculates its own scale factor that is as large as possible to minimize the loss of precision when decimal coordinates are stored as integers in MCF when writing version 6.4. The syntax of an MCFSCALE_Y线是:

_SCALE_Y 1

Workbench参数:Scale(Y)

VERSION

必需的/Optional:Optional

这value for this keyword determines the version of Mercator MCF that is to be output. Version 7.0 allows decimal values, unlike Version 6.4 which allows only integer values. When 7.0 is specified, the default values forSCALE_X, SCALE_Y, OFFSET_X, OFFSET_Yare1, 1, 0, 0respectively.

Note:版本号可能称为7.0以外的其他内容。

这syntax of a version line is:

_VERSION

Workbench参数:MCF Version Out