Create an irregular-shaped map in Surfer
To create an irregular-shaped map in Surfer, you can use a vector file to assign NoData values to the grid file during or after gridding, to act as a fault during gridding, or to act as a breakline during gridding. The polygon in this vector file will define the outline of the building, lake, mine, etc. that you wish to limit your map to.

1. Assign a NoData value to grid nodes outside the outline after gridding
Create a vector boundary file (BLN, SHP, DXF, etc.) or draw a polygon defining the boundary you want the data limited to, and assign NoData to the grid file outside the boundary.
Assign NoData to the grid nodes outside of a boundary using the steps below:
- Click Grids | Edit | Assign NoData.
- In the Input Grid section, select your grid-based map layer from the list, or click Browse, select the grid file, and click Open.
- In the NoData Polygon Boundary section, select your base map layer from the list*, or click Browse, select the vector file, and click Open.
- Toggle NoData Outside.
- Enter a name to save the new grid file as.
- Choose what type of map layer to create from this grid, and what map to add it to.
- Click OK.
*If you do not have a file or drawn polygon, see the steps below to create one:
- Select the Map object containing the grid file you would like to assign NoData to in the Contents window.
- Click Home | Add to Map | Layer | Empty Base.
- Select the Base(vector) layer in the Contents window.
- Click Features | Insert | Polygon and draw your polygon over the map. Double click when you are finished to end the polygon.
- Press the ESC key on the keyboard to exit drawing mode, or double click.
2. Assign NoData outside an alpha shape in the Assign NoData dialog
Delete data nodes outside of an alpha shape directly in the Assign NoData, Grid Data, and Grid from Contours dialogs! The Alpha Shape allows you to create a tight polygon boundary around your data points, much like the existing Convex hull option. The Alpha shape can create a concave hull around data points and even gives you control on how tight the polygon clings around the data limits. See Assign NoData outside of Alpha Shape for more information.
See Also:
- Create a BLN vector boundary file, fault file, or breakline file in Surfer
- Grid only the area inside my data limits using Surfer
- Calculate the volume or area inside an irregular polygon in Surfer
Updated November 2021
Comments
0 comments
Please sign in to leave a comment.