Writer Directives

The directives processed by the Z-Map writer are listed below. The suffixes shown are prefixed by the current <WriterKeyword> in a mapping file. By default, the <WriterKeyword> for the Z-Map writer is ZMAP.

DATASET

This is the name of a folder containing one or more Z-Map files.

Typical File Extension

The default extension for Z-Map files is .dat.

Required/Optional

Required

Mapping File Syntax

ZMAP_DATASET /usr/data/zmap/input

Workbench Parameter

Destination Landmark Z-MAP Folder

DEF

The <WriterKeyword>_DEF must be used to define a feature before elements of that feature may be written. The syntax for the definition line is:

<WriterKeyword>_DEF <featureName> \
	[<attrName> <attrType>]* 

The following table shows the supported attribute types:

Field Type

Description

char(<width>)

Character fields store fixed length strings. The width parameter controls the maximum of characters that can be stored by the field. No padding is required for strings which are shorter than this width.

number(<width>)

Number fields store single and double precision floating point values. The width parameter is the total number of characters allocated to the field, including the decimal point. These numbers are stored as characters.

<code_type>,<width>

The code_type parameter is the Z-Map data type code number. The width parameter controls the field width.

Required/Optional

Required

Mapping File Syntax

ZMAP_DEF roads \
	“Well Name” char(31) \
	Operator  20,47

LINE_LENGTH

Specifies the length of lines in the output file.

Increasing this value may allow for storage of more user attributes. That is, Z-Map supports a maximum of 10 lines per record. Attributes are placed sequentially on a line until the end of the line is reached, at which point the next line is started. If there are more than 10 lines, the writer will return an error. Increasing the line length will allow more attributes to fit on a line.

Also note that any attributes with a width greater than this will be truncated.

Mapping File Syntax

ZMAP_LINE_LENGTH 80

Required/Optional

Optional

Workbench Parameter

Line Length