Window a Surface

Use the Window a Surface option (geogxnet.dll(Geosoft.GX.Surface.WindowGeosurface;Run)*), to clip the extents of a closed surface in the X,Y, and/or Z directions and produce a new closed surface. Horizontal limits may be specified using explicit coordinate values or a polygon file. Vertical limits may be specified using explicit coordinate values or top and/or bottom elevation grids.

You can access the option from:

  • The Oasis montaj Geosurface > Utilities > Window a Surface menu

  • The Oasis montaj 3D ViewGeosurface > Utilities > Window a Surface menu

  • The 3D Viewer Geosurface > Utilities > Window a Surface menu

Window a Surface dialog options

Input geosurface

Select the geosurface file containing the surface to be windowed.

Script Parameters: WINDOW_SURFACE.INPUT_GEOSURFACE_FILE

Input surface name

Select the name of the surface to be windowed from the list of surfaces in the geosurface file.

To window all surfaces in the geosurface file, select the "All surfaces" entry.

Script Parameters: WINDOW_SURFACE.INPUT_SURFACE_NAME

Output geosurface

Specify the output geosurface file in which the windowed surface will be written. This can be the same file as the input geosurface file, another existing geosurface file, or a new geosurface file.

Script Parameters: WINDOW_SURFACE.OUTPUT_GEOSURFACE_FILE

Output surface name

Specify the name of the output surface. If a surface with the same name already exists in the output geosurface file, it will be overwritten.

  • The field is disabled and cleared if "All surfaces" is selected as the input surface name.
  • Script Parameters: WINDOW_SURFACE.OUTPUT_SURFACE_NAME

    Colour

    Select the colour of the output surface.

  • The field is disabled if "All surfaces" is selected as the input surface name.

    The initial assigned colours will be retained in this case.

  • Script Parameters: WINDOW_SURFACE.SURFACE_COLOR

    Horizontal Windowing

    Check this box to perform horizontal windowing. Horizontal windowing can be done using either a polygon file, or by specifying individually the limits in X and/or Y.

    Script Parameters: WINDOW_SURFACE.HORIZONTAL_WINDOW

    To a polygon

    Select this radio button to activate the controls for polygon file windowing.

    Script Parameters: WINDOW_SURFACE.POLYGON_WINDOW_RADIO_BUTTON

    Polygon (*.ply)

    Select the Geosoft polygon (*.ply) file to use to window the horizontal extents of the surface.

    Script Parameters: WINDOW_SURFACE.XY_WINDOW_RADIO_BUTTON

    Mask values

    Select whether to mask values inside the selected polygon or outside. Geosoft polygons can be created with both inclusive and exclusive polygons. Selecting outside produces the normal expected behaviour; only data values located within the polygon inclusion areas will remain after the windowing. Selecting inside reverses the normal behaviour.

    Script Parameters: WINDOW_SURFACE.MASK (0: inside, 1: outside, default: 1)

    To ranges in X and Y

    Select this radio button to activate the controls for horizontal windowing using X and Y minimum and maximum values.

    Script Parameters: WINDOW_SURFACE.XY_WINDOW_RADIO_BUTTON

    Minimum X, Y Maximum X, Y

    Select the ranges in X and Y to retain in the output surface file. If a range is not specified (left blank), then no limit is applied; the range is left open.

    Script Parameters: WINDOW_SURFACE.MINX,MAXX,MINY,MAXY

    Vertical Windowing

    Check this box to perform elevation windowing. Elevation windowing can be done using either specified limits in Z, or by specifying upper and/or lower elevation grids.

    Script Parameters: WINDOW_SURFACE.VERTICAL_WINDOW

    To elevation grids

    Select this radio button to activate the controls for vertical windowing using elevation grids.

    Script Parameters: WINDOW_SURFACE._Z_TO_GRIDS_RADIO_BUTTON

    Top grid

    Select or browse to find the plan grid that represents the upper Z limit of the output surface. If the grid name is left blank, no upper limit will be applied.

    Script Parameters: WINDOW_SURFACE.TOP_GRID_FILE

    Bottom grid

    Select or browse to find the plan grid that represents the lower Z limit of the output surface. If the grid name is left blank, no lower limit will be applied.

    Script Parameters: WINDOW_SURFACE.BOTTOM_GRID_FILE

    To ranges in Z

    Select this radio button to activate the controls for vertical windowing using Z minimum and maximum values.

    Script Parameters: WINDOW_SURFACE.Z_RANGE_RADIO_BUTTON

    Minimum Z Maximum Z

    Select the range in Z to retain in the output surface. If a range is not specified (left blank), then no limit is applied; the range is left open.

    Script Parameters: WINDOW_SURFACE.MINZ,MAXZ

    Application Notes

    *The GX tool will search in the "...\Geosoft\Desktop Applications \gx" folder. The GX.Net tools, however, are embedded in the geogxnet.dll located in the "...\Geosoft\Desktop Applications \bin" folder. If running this GX interactively, bypassing the menu, first change the folder to point to the "bin" folder, then supply the GX.Net tool in the specified format.

    The system will advise when surfaces not intersecting with the specified extents are excluded.

    Coordinate Systems:

    • A new output geosurface should have the same projected coordinate system & units as the input geosurface.
    • In GXs that have multiple input geosurfaces (i.e. Join/Clip/Intersect GX), the output geosurface has the projected coordinate system and units of the primary geosurface.
    • In the case of an existing output geosurface, the resulting surface(s) must be reprojected into the projected coordinate system and units of the output geosurface.