Adding point data to a map is almost obligatory. Point data can be used to identify points of interest, survey locations, and more. In Surfer, XY points are displayed in post layers, classed post layers, or base layers. The best layer type depends on the data you have (e.g. if you have a DAT, CSV, TXT or Excel file, or no file) and your display needs.
Topics covered in this article |
Add points as a classed post map |
Add points as a post map
Post maps are the simplest method for displaying XY point data from a worksheet in Surfer. A single symbol is used to display each point and the locations of each point are fixed based on the XY coordinates in the selected data file.
To create a new map:
- Click File | Open or click Home | New Map | Post.
- Select the data file and click Open.
- In the Properties window, ensure the correct columns are assigned in the X coordinates and Y coordinates fields.
To add a post layer to your current map:
- Select your map and click Home | Add to Map | Layer | Post.
- Select your data file and click Open.
- If your XY coordinates are not in columns A and B:
- Click No in the Surfer warning dialog.
- Click the Post layer in the Contents window to select it.
- On the General tab of the Properties window, click in the X coordinates field and select the correct data column.
- Click No in the Surfer Warning dialog.
- Click in the Y coordinates field and select the correct data column.
Add points as a classed post map
Classed post maps have all the same features of a post map plus one major addition; they allow you to classify your points based on a third column of numeric data. For example, you could assign different colors based on the safety level of contaminant concentrations.
To create a new map:
- Click Home | New Map | Post | Classed Post.
- Select your data file and click Open.
- In the Properties window, ensure the correct columns are assigned in the X coordinates, Y coordinates and Z coordinates fields.
- Click Edit Classes in the Classes tab in the Properties window to define your classes and the symbol properties for each class.
- Click Map Tools | Add to Map | Legend to add a legend illustrating each class
To add a classed post layer to your current map:
- Select your map and click Home | Add to Map | Layer | Classed Post.
- Select your data file and click Open.
- If your XY coordinates are not in columns A and B:
- Click No in the Surfer warning dialog.
- Click the Post layer in the Contents window to select it.
- On the General tab of the Properties window, click in the X coordinates field and select the correct data column.
- Click No in the Surfer Warning dialog.
- Click in the Y coordinates field and select the correct data column.
- Click Edit Classes in the Classes tab in the Properties window to define your classes and the symbol properties for each class.
- Click Map Tools | Add to Map | Legend to add a legend illustrating each class
Add points as a base from data map
Base maps are the most flexible layer type for displaying XY point data because the XY point locations can be edited directly in the map and the symbol for each point can be set individually. Base layers also support classification based on both text and numeric data.
Base layers are not recommended if you are working with a very large data file (10k points or more) because they require more processing power to draw than post layers.
To create a new map:
- Click Home | New Map | Base | Base from Data.
- Select your data file and click Open.
- In the Base from XY Data dialog, adjust the Data Rows and Data Columns as needed and click OK.
- On the General tab in the Properties window adjust the Symbol properties as desired or click Edit Symbology to define your classes and the symbol properties for each class.
- Click Map Tools | Add to Map | Legend to add a legend illustrating each class.
To add a base layer to your current map:
- Select your map and click Home | Add to Map | Layer | Base from data.
- Select your data file and click Open.
- In the Base from XY Data dialog, adjust the Data Rows and Data Columns as needed and click OK.
- On the General tab in the Properties window adjust the Symbol properties as desired or click Edit Symbology to define your classes and the symbol properties for each class.
- Click Map Tools | Add to Map | Legend to add a legend illustrating each class.
Add points without a data file
If you do not already have your points defined in a worksheet but you can identify where they should be based on context in another map layer such as an image, you can draw them in a base layer.
- Select your current map and click Home | Add to Map| Layer | Empty Base.
- Click the new Base(vector) layer in the Contents window to select it.
- Click Home | Insert | Point
- Click on each location in the map where a point should be drawn.
- If desired, adjust the position of a drawn point by selecting the point in the Contents window and adjusting the X and Y values in the Coordinates tab of the Properties window. Alternatively, each point can be clicked and dragged after exiting drawing mode.
- Press ESC to stop drawing.
Comments
How is this done in scripter ?
@Sayce,
You can add a post layer to a map using the AddPostLayer method. You can read more in the help: AddPostLayer. You may also want to review the sample script that comes with Surfer, PostMap.bas. By default, this script is located at C:\Program Files\Golden Software\Surfer 13\Samples\Scripts\PostMap.bas.
Thanks,
Jennifer
Please sign in to leave a comment.