Method 1: Digitize from Surfer
It is easy to digitize line segments from an existing map in Surfer (contour, base, etc.). When creating a blanking file in this manner, the header information is added to the file automatically. To create a blanking file with the Digitize command:
- Create a map in the plot window, and then select the map. This can be an overlay, although the overlay cannot contain a wireframe or surface, or be tilted at any angle other than 90 degrees.
- Click Map Tools | Layer Tools | Digitize and the pointer becomes a cross hair.
- Click the left mouse button in the plot window to write the current coordinates to the Digitized Coordinates editor window. Click on the location for all vertices in the first line.
- If you wish to create multiple polylines, click in the Digitized Coordinates window and manually insert a blank line. Then click in the plot window on the locations for all the vertices in the next line.
- Repeat inserting a space and clicking for each polyline you digitize.
- When you are finished defining the polyline(s), click File | Save As in the Digitized Coordinates window, and save the file as a BLN file.
- Press ESC or choose any tool button to exit digitize mode.
Method 2: Draw it in the Plot Window
You can also draw the objects you want over your map and export them to a BLN file. To do this:
- Select your existing map and click Home | Add to Map | Layer | Empty Base. That will add an empty base map layer, called Base(vector), to your map. You can see this in the Contents window.
- Select the new empty Base(vector) map layer in the Contents window, and click Features | Group | Start Editing. You are now "inside" the base layer group.
- You may want to zoom in a few times so you can see the map clearly.
- Click Features | Insert | Polyline and draw the polyline over the map. You can use the scroll bars on the sides of the window when drawing the polyline.
- Double click when you are finished to end the polyline. Now the base map layer has one polyline object in it. Draw as many polylines as needed.
- Press the ESC key on the keyboard to exit draw mode.
- Click Features | Group | Stop Editing to exit the base layer group.
- Turn off the four axes in the Contents window (uncheck them) and any other map layers (ie. a Contours layer).
- Go to File | Export.
- In the Export dialog, choose a location to save the file, give the file a name, and choose to save it as BLN Golden Software Blanking (*.bln).
- Click Save.
- In the Export Options dialog, click OK, and the file is created.
Method 3: Create Manually in a Text Editor
You can also simply enter the vertex coordinates for the polylines in a text editor or the Surfer worksheet. This method is best if you have known X,Y values for your line segments. The BLN format is a one-line header followed by a list of XY coordinates for the object. The header is simply the number of data points in the object. Then save the file with a BLN extension.
Below is an example of the proper format for 4 seperate 2-point polylines. The header consists of the number of points in the line.
Note: You can view your BLN file in Surfer using the Home | New Map | Base command.
See also: How can I create a BLN file in Surfer?
Updated October 20, 2017