There are many ways to add XY points to a map in Surfer. Which way is best depends on the data you have (e.g. if you have a DAT, CSV, TXT or Excel file, or no file) and your own personally preferred workflow.
If you are adding the points from a data file, and the data file is georeferenced (e.g. has a PRJ file), then the layer it creates is also georeferenced.
The methods to create a map or layer from point data are:
1) Simply open the data file. This will open the data file as a new post map in Surfer 19 and above.
- Click File | Open.
- Select the data file.
- Click Open. The map is created.
2) Use the Map Wizard.
- Click Home | Wizard | Map Wizard.
- Select your data file, verify the X and Y columns are correct, and click Next.
- On the next page, at the top, you can choose to add the points as a layer to a new map or as a layer to an existing map.
- Select the type of map you wish to create from the data. In this example, check Post (other data point options include Base and Classed Post).
- Click Finish and the map or layer is created.
3) Load a data file containing the point locations directly as a base layer. Base layers are a good choice if you wish to apply symbology to a layer, or manually edit some points (e.g. delete, add, move, etc):
- Save the XY coordinates to a data file, like an Excel file (or DAT, CSV, TXT, etc), with the X coordinate in one column and the Y coordinate in another column.
- To add the points as a layer to a new map, click Home | New Map | Base | Base from Data. To add the points as a layer to an existing map, then select the existing map and click Home | Add to Map | Layer | Base from Data.
- Select the data file and click Open.
- Select the X and Y data columns and click OK. The base layer is created.
4) Load a data file containing the XY point locations directly as a post or classed post layer. Post layers are a quick and easy way to view XY points:
- Save the XY coordinates to a data file, like an Excel file (or DAT, CSV, TXT, etc), with the X coordinate in one column and the Y coordinate in another column.
- To add the points as a layer to a new map, click Home | New Map | Post. To add the points as a layer to an existing map, select the existing map and click Home | Add to Map | Layer | Post.
- Select the data file and click Open. The post layer is created. By default it uses column A as the X coordinate column and column B as the Y coordinate column (you can change this later).
- To make any changes (e.g. X column, Y column, symbol properties, labels, etc) select the Post layer in the Contents window and make any changes in the Properties window.
5) Draw the point manually in a new empty base layer:
- Select the existing map.
- Click Home | Add to Map | Layer | Empty Base.
- Click the new Base layer in the Contents window to select it.
- Click Home | Insert | Point and draw the point at the location you want.
- 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 Property window.
- Press ESC to stop drawing.
To add these map types to an existing map:
- Click the existing Map object in the Contents window.
- In the ribbon, click Home | Add to Map | Layer then choose one of the map types listed above.
Updated February 2024
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.