BASE Editor : Commands : Render Raster to Image
 

Render Raster to Image

 

Menu

File > Export > Coverages > Image

The Render Raster to Image command exports a single band from a raster surface to a raster image. This is accomplished by converting the values from the selected band into colours. The resulting image will have the same dimensions, coordinate reference system and geographic extent as the input.

The raster image is created in memory only and will be lost when the application or the data source is closed. If you wish to retain the new image file, it can be saved using the Save As command. See Save As for information on the command.

Related commands:

Export Raster

Interface

The Render Raster to Image command uses the following dialog box.

Option

Description

Source

The name and location of the input file. The Source is defined by the dataset that was selected at the time the command was initiated. This field cannot be changed.

Name

The name to display for the new image band in the Layers window.

Input Band

The band from the source surface containing the raster data to be converted to colour data in the output image file.

Filter

Filter the input so only values in the input band within a specified range result in populated nodes in the output. Click the check box to enable the options.

Minimum - A number specifying the minimum value for the filter range.

Maximum - A number specifying the maximum value for the filter range.

Enable Shading

Enable the sun shading options.

Shading

The sun shading parameters used when rendering the raster.

Azimuth Angle - A number specifying the azimuth angle applied for sun shading in degrees.

Elevation Angle - A number specifying the elevation angle applied for shading in degrees.

Exaggeration

A number specifying the multiplier for each band value. Only positive numbers are accepted.

Colour File

The colour map file to use when rendering the raster. The list of available options is populated with all colour files present in the directory specified for the Colour Maps option in Tools > Options.

Colour Range

The values that will map onto the first and last colours in the colour map. Click the check box to enable the Minimum and Maximum options.

Minimum - A number specifying the value that will map onto the first colour in the colour map. Click the check box to enable the option and enter a value.

Maximum - A number specifying the value that will map onto the last colour in the colour map. Click the check box to enable the option and enter a value.

Reverse Colours

Enable this option to apply the colour map in the reverse order.

Z-axis Convention

The Z-axis convention to apply to the data in the resulting image. This will affect how data is displayed and calculated. If this option is not enabled, the Z-axis Convention setting in Tools > Options will be used, which, by default, is Down is positive.

1. Click the check box to enable the drop-down list.

2. Select the relevant convention from the drop-down list.

Transparency %

A number specifying a percentage of transparency to apply to the image.

Procedure

1. Select a dataset in the Layers window.

2. Select the Render Raster to Image command.

The Render Raster dialog box is displayed.

3. Enter a Name for the resulting image file.

4. Select the band from which values will be exported.

5. Define any necessary options.

6. Click OK.

A new raster image is added to the Layers window, populated and displayed according to the rendering settings.

7. If needed, select the Save As command to save the file for future use.

 

Menu

File > Save > Save As

Use Case Scenario

Export a digital elevation model (DEM) in a supported raster surface format to an image format.

Step 1: The Render Raster to Image command is the first step in the workflow. This command converts the DEM into a CSAR image file.

Step 2: Next the CSAR image is exported to an image format using the Export Raster command. This command converts the CSAR image into a PNG, JPEG or GeoTIFF image. See Export Raster for information on this command.