Color Relief Layer General Properties

To edit a color relief layer, click once on the color relief layer to select it. The properties for the color relief layer are displayed in the Properties window. The color relief properties General page contains the following options:

The color relief layer properties General page controls the layer color, color scale bar, hill shading, pixel interpolation, and missing data.

Input Grid File

The Grid file displays the path and file name for the grid file used for the map. If the entire file name is not shown, place the mouse over the file name. A small window will appear with the full path and name displayed.

Grid Information

The button displays information about the grid file used to produce the map layer. The information includes the grid size, the minimum and maximum X, Y, Z values contained in the grid file, and statistics. If the grid file contains more than 40 million nodes, you are asked if you wish to create a detailed report or a quick report. Click Yes in the message to create a detailed grid report, or click No to create a shorter quick grid report.

Change File

Click the button to display the Open Grid dialog. This allows a new or updated grid file to be specified for the color relief map. Select the new grid file and click Open to reference the new file.

Coordinate System Note

Regardless of the file selected with either the File | Reload Map Data command or by clicking the button in the Properties window, the coordinate system for the original map layer is used after updating the file. If this is not the correct coordinate system, click on the map layer to select it. In the Properties window, click on the Coordinate System tab and set the coordinate system to the appropriate new system.

Save File

Click the button to display the Save Grid As dialog. This allows the grid file used for the color relief map to be saved to a new name. Set the File name, Save as type, and click Save to save the file. If a coordinate system has been defined on the Coordinate System tab in the Properties window, an Export Options dialog appears. Check the desired file formats. It is recommend that GS Reference (Version 2) file option be checked to generate a .GSR2 file. Click OK and the file is saved.

Terrain Representation

The Terrain Representation property specifies if the color relief layer visualization is enhanced by hill shading or reflectance or if only colors are displayed. Select Color only to color the layer by the Z value and colormap only. Select Hill shaded to apply hill shading to the map. Select Reflectance to apply reflectance shading to the map.

Hill shading is a method of representing relief by depicting shadows cast by a point light source. Select the Hill shaded to apply hill shading to the color relief map. For hill shading a color relief map with a GrayScale colormap, it is recommended you change the lower color of the colormap to a slightly lighter black (e.g. 80% Black). The Hill Shading Parameters are displayed when the Hill shaded option is selected.

Reflectance uses colors to indicate the local orientation of the surface relative to a user-defined light source direction. Surfer determines the orientation of each grid cell and calculates reflectance of a point light source on the grid surface. The light source can be thought of as the sun shining on a topographic surface. Portions of the surface that face away from the light source reflects less light toward the viewer, and thus appear darker. The colors on a reflectance shaded color relief map are based on the reflectance from the grid surface. Reflectance values range from zero to one. A reflectance value of zero means that no light is reflected toward the viewer. A reflectance value of one means that all incident light is reflected toward the viewer. The Reflectance Parameters are displayed when the Reflectance option is selected.

Hill shading and Reflectance replaces the 3D View Lighting properties. To use the 3D view lighting properties when viewing the map in the 3D view, set the Terrain representation to Color only.

Colors

The Colors option defines the colormap used to fill the color relief map. The colormap can use a linear or logarithmic scale. Change the color by clicking the existing color bar next to Colors. Select the new colormap from the list. If the desired color map is not listed, click the button to the right of the selected colormap. The Colormap Editor appears. Make any changes and click OK to see the change on the map. To set the colormap to use a logarithmic scale, click the button to the right of the selected colormap. Check the Logarithmic scaling option and click OK. The color map is automatically updated to show logarithmic scaling.

Interpolate Pixels

The Interpolate pixels check box activates color smoothing on the map. When checked, Interpolate pixels uses bilinear interpolation to calculate colors on the map. Bilinear interpolation makes the color gradations smoother, but it can slightly slow the on-screen drawing of the color relief map.

When a dense grid (a grid with relatively large numbers of rows and columns) is used, little difference is seen between the final color relief maps whether the Interpolate pixels option is checked or not. For dense grids, on-screen drawing time can be reduced when the Interpolate pixels option is unchecked.

When a coarse grid (a grid with relatively few rows and columns) is used and the Interpolate pixels option is not checked, all pixels within a single grid square are assigned the same color. This creates a grid-square map, and can result in a color relief map with a very blocky appearance. For coarse grids, therefore, a smoother appearance results when the Interpolate pixels check box is checked.

The non-interpolated color relief map maps each grid node to a pixel, i.e. a grid cell, which is expanded to a block of pixels to make the map the correct size. The interpolated color relief map assigns colors to the pixel or pixels at a grid node and then interpolates the colors for the pixels between the grid nodes.

Image Size (Pixels)

The Image size (pixels) property determines the number of pixels along the longest side of the color relief map. The number of pixels along the shorter side of the map is calculated from the Image size (pixels) and aspect ratio of the input grid file. The default Image size (pixels) value is 1000. Click the buttons to increase or decrease the Image size (pixels) by 100.

Increase the Image size (pixels) value to smooth the appearance of the color relief layer. Decrease the Image size (pixels) value to speed up the color relief layer rendering time. The Image size (pixels) property can be any integer value between 2 and 32767. Use caution when increasing the Image size (pixels) value to very large numbers. Large values can significantly increase the time to render the color relief layer.

Show Color Scale

The Show color scale option permits the display of a color scale bar adjacent to the map. The color scale bar indicates the colors assigned to the Z levels on the map, and the associated Z level values are displayed as labels on the color scale bar. When the Show color scale box is checked, the color scale bar is displayed. If the colormap is set to a logarithmic scale, the color scale bar will automatically display logarithmic scaling.

Hill Shading Parameters

The Hill Shading Parameters are displayed when the Hill shaded option is selected.

Horizontal Light Angle

The Horizontal light angle (degrees) box defines the direction for the light source in the horizontal plane. Zero degrees corresponds to the light source shining from due east toward the west. Positive angles rotate the light source counterclockwise. For example, a specified horizontal angle of 90 degrees places the light source north of the unrotated surface. 180 degrees places the light source west of the unrotated surface and shining east. 270 degrees places the light source south of the unrotated surface and shining north. The default horizontal angle is set at 135 degrees, or NW. To change the Horizontal light angle (degrees), highlight the existing angle value. Type a new value or click and drag the to the desired angle position. The Horizontal light angle (degrees) option is disabled when the Enable hill shading box is not checked.

Vertical Light Angle

The Vertical light angle (degrees) box rotates the light source in the vertical plane. A vertical angle of zero degrees places the light source at the horizon and shining horizontally. An angle of 90 degrees places the light source directly overhead and shining down onto the map. The default vertical angle is 45 degrees. As the vertical angle approaches zero, shadows lengthen. To change the Vertical light angle (degrees), highlight the existing angle value. Type a new value or click and drag the to the desired angle position. The Vertical light angle (degrees) option is disabled when the Enable hill shading box is not checked.

Z Scale Factor

The Z scale factor box allows you to specify the Z scale to use for the surface. As you increase the Z scale factor, the surface becomes more exaggerated vertically. Increasing the factor enhances the shading effect, and can be useful for bringing out more detail, especially on relatively flat surfaces. The default Z scale factor scales the Z coordinates to 1/4th the XY diagonal of the input grid. The Z scale factor option is disabled when the Enable hill shading box is not checked. The Z scale factor must be greater than 0. If a value less than or equal to 0 is entered into the Z scale factor box, the value will be automatically set to approximately 1.192 x 10-7.

Ambient Light Intensity

The Ambient light intensity property controls the overall brightness of the surface. The Ambient light intensity is a value between 0 and 1. To change the Ambient light intensity, highlight the existing angle value. Type a new value or click and drag the to the desired angle position. The Ambient light intensity option is disabled when the Enable hill shading box is not checked.

Reflectance Parameters

The Reflectance Parameters are displayed when the Reflectance option is selected.

Reflectance Method

The Reflectance method specifies the algorithm used to compute the reflected light at each grid cell. The Reflectance method determines how the colors are distributed in relation to the slopes and slope directions (aspect) over the extent of the map.

Horizontal Light Angle

The Horizontal (degrees) box defines the direction for the light source in the horizontal plane. Zero degrees corresponds to the light source shining from due east toward the west. Positive angles rotate the light source counterclockwise. For example, a specified horizontal angle of 90 degrees places the light source north of the unrotated surface. 180 degrees places the light source west of the unrotated surface and shining east. 270 degrees places the light source south of the unrotated surface and shining north. The default horizontal angle is set at 135 degrees, or NW. To change the Horizontal (degrees), highlight the existing angle value. Type a new value or click and drag the to the desired angle position.

Vertical Light Angle

The Vertical (degrees) box rotates the light source in the vertical plane. A vertical angle of zero degrees places the light source at the horizon and shining horizontally. An angle of 90 degrees places the light source directly overhead and shining down onto the map. 180 degrees places the light source at the opposite horizon and shining horizontally. 270 degrees places the light source directly below the map and shining up. The default vertical angle is 45 degrees. As the vertical angle approaches zero, shadows lengthen and the overall display shifts to the colors at the left end of the color spectrum. To change the Vertical (degrees), highlight the existing angle value. Type a new value or click and drag the to the desired angle position.

Z Scale Factor

The Z scale factor box allows you to specify the Z scale to use for the surface. As you increase the Z scale factor, the surface becomes more exaggerated vertically. Increasing the factor enhances the shading effect, and can be useful for bringing out more detail, especially on relatively flat surfaces. The default Z scale factor scales the Z coordinates to 1/10th the XY diagonal of the input grid. The Z scale factor must be greater than 0. If a value less than or equal to 0 is entered into the Z scale factor box, the value will be automatically set to approximately 1.192 x 10-7.

NoData

The NoData section sets the color for grid nodes that have been assigned the NoData value.

NoData Color

To select a different NoData region color, click on the existing color to the right Color and click on the desired color from the palette. Click the button to the right of the selected color to define new colors in the Colors dialog.

NoData Opacity

To change the Opacity of the NoData regions, enter a value from 0% (completely transparent) to 100% (completely opaque) by highlighting the existing value and typing a new value or by dragging the to change the opacity percentage.

See Also

Color Relief Map

Properties

Colormap Editor

Creating a Color Relief Map

Editing a Color Relief Map