RockWorks | Utilities | Grid | Filters | Polygon Clip
The polygon filter is used to set the grid nodes inside (or outside) a polygon to either a user-specified value or to the values defined within another grid model. A typical application is to zero all of the values outside the polygon to zero. For example, if the input grid represents ore reserves and the polygon represents a lease boundary, the grid statistics will represent reserves only within the lease boundary. A "null" value can be used as the replacement constant.
Menu Options
Step-by-Step Summary
Menu Options
- Input Columns: If you request plotting of 2D map symbols (below) AND if you have data loaded into the Utilities datasheet, you can use these prompts (along the left edge of the Options window) to specify the X and Y locations for the map symbols. If you don't plot map symbols, these will be ignored.
- X (Easting): Click here to select the name of the column containing the X or Easting coordinates.
- Y (Northing): Click here to select the name of the column containing the Y or Northing coordinates.
- Input Grid Model: Click to the right to browse for the name of the existing grid file (.RwGrd) that the program is to read and filter.
- Output Grid Model: Click to the right to type in the name to assign to the new grid file that the program will create, which results from the polygon filtering operation.
- Polygon Vertices: Click to the right to select the name of the table that you have already created, containing the boundary coordinates of the polygon to be used to filter the input grid file.
- Polygon Vertices are stored in the project database.
- Multiple tables of polygon vertices can be saved for a single project, but you can only use one at a time in this grid filter.
- See Polygon Vertex Tables for information about how to create these tables, where they are stored, etc.
- Filter type: Select the operation.
- Interior: This will re-assign node values that lie inside the polygon, to a constant value. Expand this item to enter the constant.
For example, the polygon could define a lake boundary within a topographic surface, and the constant could be the water level elevation.
- Exterior: This will re-assign node values that lie outside the polygon, to a constant value, and expand this item to enter the constant.
For example, the polygon could represent a lease boundary, and the constant could be "0", to zero-out reserves outside the lease. Or, you can use the RockWorks null value of -1e27 to set outside nodes to this value which will be ignored during contouring, statistics computations, etc.
- Interior/Grid-Based: This option will re-assign the node values that lie inside the polygon, to corresponding values stored in another grid model.
For example, if you have a detailed grid model of a pit design, this could replace the topography nodes within the pit boundary.
- Interior Replacement Grid: Click here to select the name of the other grid model, containing the nodes (which lie inside the polygon boundary) that are to be substituted into the original grid. Be sure this grid has the same dimensions and node density as the input model.
- Exterior/Grid-Based: This option will re-assign the node values that lie outside the polygon, to the corresponding values stored in another grid model.
Example: You could substitute node values on the other side of a fault line with those from a separate model.
- Exterior Replacement Grid: Click here to select the name of the other grid model, containing the nodes (which lie outside the polygon boundary) that are to be substituted into the original grid. Be sure this grid has the same dimensions and node density as the input model.
- Create 2-Dimensional Grid Diagram: Insert a check in this check-box if you want to display the output grid as a 2D map at this time. Expand this heading to set up the 2D map layers (bitmap, symbols, labels, line contours, color-filled contours, labeled cells, and/or map border).
- Create 3-Dimensional Grid Diagram: Insert a check in this check-box if you want to display the output grid as a 3D surface. Expand this heading to set up the 3D map layers (flat surface, Boolean colors, perimeter, reference cage). You can request both a 2D and 3D representation of the grid model.
- Create Grid Statistics Report: Insert a check here if you want to see a report summarizing the output grid.
- Include Standard Deviation: Check this box if you want the report to include standard deviation.
- Include Directional Analysis: Check this box to include slope, aspect, and strike computations. Be warned that these can take a few moments for large grid models.
Step-by-Step Summary
- Be sure you have your input data in order. This tool requires that:
- A RockWorks grid model (.RwGrd file) already exists.
- A table containing polygon vertices already exists.
- (optional) If you choose Grid-Based replacement, you'll need to be sure that second grid model exists and is comprised of the same grid dimensions and node density.
- (optional) If you'll be creating a 2D map with well location symbols, you'll need to have an .RwDat file containing the X and Y location coordinates at which the map symbols will plot.
- Access the RockWorks Utilities program tab so that you can see the Grid menu commands.
- (optional) If you'll be creating a 2D map with a well symbol layer, use File | Open to open the .RwDat file containing the X and Y location coordinates.
- Select the Grid | Filters | Polygon Clip menu option.
- Enter the requested menu settings, as described above.
- Click the Process button to continue.
The program will load the input grid file, determine whether each node lies inside or outside of the defined polygon, and set the node to the defined constant or to the value of the corresponding grid node in the second model, as per your request. Nodes that are not reset are left unchanged. The resulting node values will be stored in a new grid file on disk under the output file name you selected.
The requested diagram(s) will be displayed in a RockPlot2D tab and/or RockPlot3D tab in the Options window. If you requested a statistics report, it will be displayed in a Text Tab in the Options window.
- You can adjust any of the settings in the Options window and then click the Process button again to regenerate the diagram(s).
! Each time you click the Process button, the existing display(s) will be replaced.
- View / save / manipulate / export / print the diagram in the RockPlot2D or RockPlot3D window.
Back to Grid Menu Summary
RockWare home page