Golden Software Blanking .BLN File Description

Grapher imports and exports Golden Software Blanking Files .BLN.

Golden Software Blanking File .BLN is an ASCII format file used to store geographic information including areas, curves, and points. Spatial information is only concerned with the location of objects in space (i.e., their coordinates) and not with their attributes (i.e. line or fill style, marker symbol used, text labels, etc.). Even though the primary use of GS Blanking files is to indicate regions to be "blanked-out", they can also be used for simple boundaries and decorative illustrations.

File Format

The general format of the file is:

length,flag "Pname 1"

x1,y1

x2,y2

...

xn,yn

length,flag "Pname 2"

x1,y1

x2,y2

...

xn,yn

 

Length

The length value is an integer which indicates the number of X, Y coordinate pairs that follow.

Flag

The flag value is 1 if the region inside areas is to be blanked and 0 if the region outside areas is to be blanked.

Pname

Pname is optional and is the name of a primary ID to be associated with the object. The primary ID is used to link the object to external data.

X, Y Coordinates

Following lines contain the actual X, Y coordinate pairs that make up the object. These can be integers or real numbers, and are stored 1 pair per line.

Type of Object

The type of object is determined as follows:

  • If the type/length field is 1, the object is considered a point. One coordinate pair follows.

  • If the type/length field is greater than 1 and the first and last coordinate pairs are equal, the object is considered a simple closed area. Otherwise, the object is considered a curve.

Example 1

This example shows a simple .BLN file, with a single area:

5 0

1 1

1 3

4 3

4 1

1 1

Example 2

This example shows a complex .BLN file, with an island:

13 0

48 99

52 20

57 19

56 8

29 0

27 71

48 99

40 70

50 60

48 55

34 40

40 70

48 99

Import Options Dialog

No import options dialog is displayed.

Import Automation Options

No import options are available.

Export Options Dialog

See BLN Options dialog and Scaling Export Options

Export Automation Options

See BLN Export Automation Options

See Also

File Format Chart