Welcome to the Harris Geospatial documentation center. Here you will find reference guides and help documents.


  >  Docs Center  >  ENVI API  >  Processing  >  ENVIQueryTaskTask

ENVIQueryTaskTask

ENVIQueryTaskTask

This task returns a hash that describes the properties of a selected ENVITask.

Example


; Start the application
e = ENVI(/HEADLESS)
 
; Get the task from the catalog of ENVITasks
Task = ENVITask('QueryTask')
 
; Provide inputs
Task.Task_Name = 'SpectralIndex'
 
; Run the task
Task.Execute
 
; Print the task parameters
Print, Task.DEFINITION

Syntax


Result = ENVITask('QueryTask')

Input properties (Set, Get): TASK_NAME

Output properties (Get only): DEFINITION

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

Methods


This task inherits the following methods from ENVITask:

AddParameter

Execute

Parameter

ParameterNames

RemoveParameter

Properties


This task inherits the following properties from ENVITask:

COMMUTE_ON_DOWNSAMPLE

COMMUTE_ON_SUBSET

DESCRIPTION

DISPLAY_NAME

NAME

REVISION

TAGS

This task also contains the following properties:

DEFINITION

An ENVITaskInfo hash that describes the properties of an ENVI task.

TASK_NAME (required)

A string with a selected task name to query. Use one of the following options to get a list of task names:

Version History


ENVI 5.3

Introduced

ENVI 5.3 SP2 DEFINITION returns a ENVITaskInfo hash

API Version


3.3

See Also


ENVITask, ENVITask::Parameter, ENVIQueryTaskCatalogTask, ENVI function



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us