Polyline

zgf_type: zgf_polyline

ZGF line features specify linear features defined by a sequence of x and y coordinates.

These attributes are specific to line features.

Attribute Name

Contents

zgf_line_type

An integer code describing the appearance of the line.

Range:

1 - normal line

2 - dashed line

3 - bold line

4 - hachured line

5 - hachured line

6 - double dashed line

7 - triple dashed line

Default: No default

zgf_smooth

The smoothing flag.

zgf_continue

This flag specifies whether or not the polyline was constructed from multiple smaller segments, as stored in the ZGF file.

Range:

0 - stored as a single, standalone line

1 - stored as multiple line segments

Default: 0

zgf_line_width

The width of the line.

Range: 32-bit real

Default: No default

zgf_first_dash_length

zgf_second_dash_length

zgf_third_dash_length

For dashed lines, these denote the length of the dashes.

Range: 32-bit real

Default: No default

zgf_first_dash_gap

zgf_second_dash_gap

zgf_third_dash_gap

For dashed lines, these denote the length of the gaps.

Range: 32-bit real

Default: No default

zgf_hachure_direction

zgf_hachure_spacing

zgf_hachure_length

These are used to specify the presentation properties of hachure lines.

zgf_marker_number

 

For normal or boldface lines, if zgf_marker_number is not 0, it specifies the symbol that should be drawn at each point on the line.

Range: 32-bit integer

Default: No default

zgf_marker_height

If zgf_marker_number is specified, zgf_marker_height denotes the height of this marker.

Range: 32-bit real

Default: No default

zgf_color_index

An index to the color table owned by the feature’s containing MGU. Used to find the feature’s color.

Range: 0 - 255

Default: No default

zgf_units

Indicates the natural coordinate space for the feature. Note that all coordinates are converted to user space by the ZGF reader.

Range:

1 - user (also called application, engineering, or scaled)

2 - plotter (also called unscaled)

3 - normalized (all coordinates between 0.0 - 1.0, inclusive)

Default: No default