SAGA 9.12.0 | Tool Library Documentation

Export Grid to KML


Description

The tool uses the 'Export Image' tool to create the image file and automatically projects the raster to a geographic coordinate system, if its projection is known and not geographic.


Parameters

 NameTypeIdentifierDescriptionConstraints
InputGridgrid, inputGRID--
Shadegrid, input, optionalSHADE--
OptionsGrid Systemgrid systemPARAMETERS_GRID_SYSTEM--
Filefile pathFILE--
Image FormatchoiceFORMAT-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
ColorschoiceCOLOURING-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 RampcolorsCOL_PALETTE--
Has Alpha ChannelbooleanALPHA-Default: 0
Standard Deviationfloating point numberSTDDEV-Minimum: 0.000000 Default: 2.000000
Stretch to Value Rangevalue rangeSTRETCH--
Lookup Tablestatic tableLUT-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
InterpolationbooleanRESAMPLINGResampling method used when projection is neededDefault: 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