Export Grid to KML
- Author: O.Conrad (c) 2014
- Menu: File | Grid | Export
Description
Uses 'Export Image' tool to create the image file. Automatically projects raster to geographic coordinate system, if its projection is known and not geographic. 
Parameters
|  | Name | Type | Identifier | Description | Constraints | 
|---|
| Input | Grid | grid, input | GRID | - | - | 
| Shade | grid, input, optional | SHADE | - | - | 
| Options | Grid System | grid system | PARAMETERS_GRID_SYSTEM | - | - | 
| File | file path | FILE | - | - | 
| Image Format | choice | FORMAT | - | Available Choices:
[0] Portable Network Graphics
[1] JPEG - JFIF Compliant
[2] Tagged Image File Format
[3] Windows or OS/2 Bitmap
[4] Zsoft Paintbrush
Default: 1 | 
| Colouring | choice | COLOURING | - | Available Choices:
[0] stretch to grid's standard deviation
[1] stretch to grid's value range
[2] stretch to specified value range
[3] lookup table
[4] rgb coded values
Default: 0 | 
| Color Palette | choice | COL_PALETTE | - | Available Choices:
[0] DEFAULT
[1] DEFAULT_BRIGHT
[2] BLACK_WHITE
[3] BLACK_RED
[4] BLACK_GREEN
[5] BLACK_BLUE
[6] WHITE_RED
[7] WHITE_GREEN
[8] WHITE_BLUE
[9] YELLOW_RED
[10] YELLOW_GREEN
[11] YELLOW_BLUE
[12] RED_GREEN
[13] RED_BLUE
[14] GREEN_BLUE
[15] RED_GREY_BLUE
[16] RED_GREY_GREEN
[17] GREEN_GREY_BLUE
[18] RED_GREEN_BLUE
[19] RED_BLUE_GREEN
[20] GREEN_RED_BLUE
[21] RAINBOW
[22] NEON
[23] TOPOGRAPHY
[24] ASPECT_1
[25] ASPECT_2
[26] ASPECT_3
Default: 0 | 
| Number of Colors | integer number | COL_COUNT | - | Default: 100 | 
| Revert Palette | boolean | COL_REVERT | - | Default: 0 | 
| Standard Deviation | floating point number | STDDEV | - | Minimum: 0.000000
Default: 2.000000 | 
| Stretch to Value Range | value range | STRETCH | - | - | 
| Lookup Table | static table | LUT | - | 5 Fields:
- 1. [color] Color
- 2. [string] Name
- 3. [string] Description
- 4. [8 byte floating point number] Minimum
- 5. [8 byte floating point number] Maximum | 
| Interpolation | boolean | RESAMPLING | Resampling method used when projection is needed | Default: 1 | 
| Shade Brightness | value range | SHADE_BRIGHT | Allows one to scale shade brightness [percent] | - | 
Command Line
Usage: saga_cmd io_grid_image 2 [-GRID ] [-SHADE ] [-FILE ] [-FORMAT ] [-COLOURING ] [-COL_PALETTE ] [-COL_COUNT ] [-COL_REVERT ] [-STDDEV ] [-STRETCH_MIN ] [-STRETCH_MAX ] [-LUT ] [-RESAMPLING ] [-SHADE_BRIGHT_MIN ] [-SHADE_BRIGHT_MAX ]
  -GRID:               	Grid
	grid, input
  -SHADE:              	Shade
	grid, input, optional
  -FILE:               	File
	file path
  -FORMAT:             	Image Format
	choice
	Available Choices:
	[0] Portable Network Graphics
	[1] JPEG - JFIF Compliant
	[2] Tagged Image File Format
	[3] Windows or OS/2 Bitmap
	[4] Zsoft Paintbrush
	Default: 1
  -COLOURING:          	Colouring
	choice
	Available Choices:
	[0] stretch to grid's standard deviation
	[1] stretch to grid's value range
	[2] stretch to specified value range
	[3] lookup table
	[4] rgb coded values
	Default: 0
  -COL_PALETTE:        	Color Palette
	choice
	Available Choices:
	[0] DEFAULT
	[1] DEFAULT_BRIGHT
	[2] BLACK_WHITE
	[3] BLACK_RED
	[4] BLACK_GREEN
	[5] BLACK_BLUE
	[6] WHITE_RED
	[7] WHITE_GREEN
	[8] WHITE_BLUE
	[9] YELLOW_RED
	[10] YELLOW_GREEN
	[11] YELLOW_BLUE
	[12] RED_GREEN
	[13] RED_BLUE
	[14] GREEN_BLUE
	[15] RED_GREY_BLUE
	[16] RED_GREY_GREEN
	[17] GREEN_GREY_BLUE
	[18] RED_GREEN_BLUE
	[19] RED_BLUE_GREEN
	[20] GREEN_RED_BLUE
	[21] RAINBOW
	[22] NEON
	[23] TOPOGRAPHY
	[24] ASPECT_1
	[25] ASPECT_2
	[26] ASPECT_3
	Default: 0
  -COL_COUNT:          	Number of Colors
	integer number
	Default: 100
  -COL_REVERT:         	Revert Palette
	boolean
	Default: 0
  -STDDEV:          	Standard Deviation
	floating point number
	Minimum: 0.000000
	Default: 2.000000
  -STRETCH_MIN:     	Stretch to Value Range
	value range
  -STRETCH_MAX:     	Stretch to Value Range
	value range
  -LUT:                	Lookup Table
	static table
	5 Fields:
	- 1. [color] Color
	- 2. [string] Name
	- 3. [string] Description
	- 4. [8 byte floating point number] Minimum
	- 5. [8 byte floating point number] Maximum
	
  -RESAMPLING:         	Interpolation
	boolean
	Default: 1
  -SHADE_BRIGHT_MIN:	Shade Brightness
	value range
  -SHADE_BRIGHT_MAX:	Shade Brightness
	value range