HYPACK Border Reader/Writer

Licensing options for this format begin with FME Professional Edition.

The HYPACK® Border Reader and Writer allows FME to read and write HYPACK BRD and B84 files.

Overview

A HYPACK BRD file contains XY positions that define an area. HYPACK BRD is a text-based format containing only real numbers. Each line in a BRD file has exactly two numbers, separated by a single space. For example:

1 2.345

A BRD file can contain an arbitrary amount of lines.

Every line except for the last represents the x and y components of a point on a polygon. Note that the first and second to last line must be identical.

The last line in a HYPACK BRD file represents the x and y components of a point either inside or outside the polygon.

FME also supports reading from and writing to the B84 format. The B84 format is similar to the BRD format in structure, but the coordinates in a B84 file are in the LL84 coordinate system.

HYPACK software uses the polygon and the point in conjunction for data filtering purposes inside their software suite.

Reader Overview

FME considers one BRD file to be one feature. The feature will always have polygon geometry.

Writer Overview

FME writes one feature to one dataset, so five features will be written to five separate BRD files. Every feature that passes to the writer must have a polygon geometry and one Boolean attribute called point_is_within_border. Any other attributes present will be lost.

If the feature has a known coordinate system, it will be projected to LL84 and written to a B84 file. If the feature has no known coordinate system, it is written to a BRD file.

The final point written does not match any input data – it is a generated point that only preserves the property of being either inside or outside the polygon.

If there are multiple features with the same feature type, the first feature written to a BRD/B84 file will be titled feature_type.brd, the second feature written will be titled feature_type_1.brd, and so on.