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: 0 |
| Colors | 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
[5] same as in graphical user interface
Default: 5 |
| Color Ramp | colors | COL_PALETTE | - | - |
| Has Alpha Channel | boolean | ALPHA | - | 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 |
Command Line
Usage: saga_cmd io_grid_image 2 [-GRID ] [-SHADE ] [-FILE ] [-FORMAT ] [-COLOURING ] [-COL_PALETTE ] [-ALPHA ] [-STDDEV ] [-STRETCH_MIN ] [-STRETCH_MAX ] [-LUT ] [-RESAMPLING ]
-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: 0
-COLOURING: Colors
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
[5] same as in graphical user interface
Default: 5
-COL_PALETTE: Color Ramp
colors
-ALPHA: Has Alpha Channel
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