Create Colour Zone File

Use the Grid and Image > Display on Map > Create Colour Zone File option (GRIDZONE GX) to create a colour zone file from statistics compiled from multiple grids.

Create Colour Zone File dialog options

Output colour table

Specify the name of the zone file to create. Must be one of the following types: Colour Tables "TBL" (*.tbl), Colour Zones "ZON"(*.zon), or an ER-Mapper LUT (*.lut) file.

Script Parameter: GRIDZONE.FILE

Grid name 1

First grid name. This grid is required.

Script Parameter: GRIDZONE.GRID1

Grid name 2

Second grid name (optional)

Script Parameter: GRIDZONE.GRID2

Grid name 3

Third grid name (optional)

Script Parameter: GRIDZONE.GRID3

Grid name 4

Fourth grid name (optional)

Script Parameter: GRIDZONE.GRID4

Grid name 5

Fifth grid name (optional)

Script Parameter: GRIDZONE.GRID5

Colour table

Select the colour scheme for rendering the colour zone file. If you mouse over the colour scheme entry, a tool tip will display the name of the colour table in its folder. To modify the selection, click on the colour entry and then navigate through the scheme categories.

Script Parameter: GRIDZONE.COLOR

Colouring method

Select the colour method as one of the following options: Histogram equalization, Normal distribution, Linear, Log-linear.

Script Parameter: GRIDZONE.METHOD [1–Linear; 2 – Normal distribution; 3 – Histogram equalization; 5 – Log-linear]

Contour interval

The contour interval.

Script Parameter: GRIDZONE.CONTOUR

[Histogram]

Click on the button to open the View Histogram dialog: a single histogram covering the data of all the provided input grids is calculated and displayed. In this dialog you will be able to:

  • click on the graph to see the bin value and percentile.
  • modify the number of divisions.
  • pick the min/max values for the zone file.

Close the dialog to save the changes of your customized colour zone file based on the input grids provided.

Application Notes

The grids are scanned sequentially to determine the data range. For the Normal and Histogram Equalization methods they are re-scanned for statistics. There is no normalization by cell size; elements are considered individually when building up the statistics and histogram.

Using a script to create a colour zone file from multiple grids

Using a script file you can create a colour zone file from up to eight grid files, as demonstrated in the script example below:

/-------------------------------------------------------------------------

/ LOG OPENED :

/-------------------------------------------------------------------------

SETINI GXRUN.GX="C:\\Program Files\\Geosoft\\Oasis montaj\\gx\\gridzone.gx"

SETINI GXRUN.DIALOG="BROWSE"

SETINI GRIDZONE.FILE=".\\test.zon"

SETINI GRIDZONE.GRID1=".\\Grid1.grd(GRD)"

SETINI GRIDZONE.GRID2=".\\Grid2.grd(GRD)"

SETINI GRIDZONE.GRID3=".\\Grid3.grd(GRD)"

SETINI GRIDZONE.GRID4=".\\Grid4.grd(GRD)"

SETINI GRIDZONE.GRID5=".\\Grid5.grd(GRD)"

SETINI GRIDZONE.GRID6=".\\Grid6.grd(GRD)"

SETINI GRIDZONE.GRID7=".\\Grid7.grd(GRD)"

SETINI GRIDZONE.GRID8=".\\Grid8.grd(GRD)"

SETINI GRIDZONE.COLOR="C:\\Program Files\\Geosoft\\Desktop Applications \\tbl\\geophysics\\colour.tbl"

SETINI GRIDZONE.METHOD="3"

SETINI GRIDZONE.CONTOUR=""

GX gxrun.gx

/-------------------------------------------------------------------------

/ LOG CLOSED :

/-------------------------------------------------------------------------