This task exports a raster and its footprint to Google Earth's KMZ (Keyhole Markup Language Zipped) format.

Example


; Start the application
e = ENVI()
 
; Open an input raster file
imgFile = Filepath('qb_boulder_msi', Subdir=['data'], $
  Root_Dir=e.Root_Dir)
raster = e.OpenRaster(imgFile)
 
; Define inputs
Task = ENVITask('ExportRasterToKMZ')
Task.INPUT_RASTER = raster
Task.FILL = !true
Task.THICK = 3
Task.FILL_TRANSPARENCY = 50
 
; Run the task
Task.Execute

Syntax


Result = ENVITask('ExportRasterToKMZ')

Input parameters (Set, Get): COLOR, INPUT_RASTER, FILL, FILL_TRANSPARENCY, OUTPUT_KMZ_URI, THICK

Output parameters (Get only): None

Parameters marked as "Set" are those that you can set to specific values. You can also retrieve their current values any time. Parameters marked as "Get" are those whose values you can retrieve but not set.

Input Parameters


COLOR (optional)

Specify the footprint color.

FILL (optional)

Set this parameter to fill the footprint.

FILL_TRANSPARENCY (optional)

Specify the fill transparency (from 0 to 100: fully opaque to fully transparent).

INPUT_RASTER (required)

Specify a raster to export to KMZ format.

OUTPUT_KMZ_URI (optional)

Specify a string with the fully-qualified path and filename for the KMZ file.

THICK (optional)

Specify the footprint thickness (width), in pixels.

Methods


Execute

Parameter

ParameterNames

Properties


DESCRIPTION

DISPLAY_NAME

NAME

REVISION

TAGS

Version History


ENVI 5.6.4

Introduced

See Also


ENVITask, ExportRasterToCADRG Task, ExportRasterToCOG Task, ExportRasterToENVI Task, ExportRasterToJPEG2000 Task, ExportRasterToNITF20 Task, ExportRasterToNITF21 Task, ExportRasterToNSIF10 Task, ExportRasterToPNG Task, ExportRasterToTIFF Task, Masking Support in ENVITasks