>  Docs Center  >  ENVI API  >  ENVI Services Engine
ENVI

ENVI Services Engine

ENVI Services Engine

The ENVI Services Engine (ESE) application provides on-demand ENVI processing as a web service. Client applications such as web pages make HTTP calls to invoke ENVI processing via ENVI Tasks, and the results are returned to the client via standard HTTP mechanisms.

The ENVI Services Engine requires Geospatial Services Framework (GSF). Contact your sales representative for information.

ENVI application programming interface (API) objects and parameters can be representing in an IDL hash form and mapped to JSON-formatted objects. By specifying input parameters and objects as JSON objects, you can run ENVI Tasks using HTTP calls.

Each object has a Hydrate method that constructs a JSON object with required key/value pairs for input to HTTP calls. Here is an example of a JSON-formatted string that represents an ENVISubsetRaster object. This raster object will be used as input for ISODATA classification:

{
      "factory" : "SubsetRaster",
      "sub_rect" : [0,0,100,100],
      "input_raster" : {
                       "url" : "http://localhost:9191/ese/data/qb_boulder_msi", 
                       "factory" : "URLRaster" 
                       }
}

Then the following HTTP call can perform ISODATA unsupervised classification on the subsetted raster:

http://localhost:9191/ese/services/ENVI/ISODataClassification/SubmitJob?INPUT_RASTER={"factory":"SubsetRaster","sub_rect":[0,0,100,100],"input_raster":{"url":"http://localhost:9191/ese/data/qb_boulder_msi","factory":"URLRaster"}}

See Supported Data Types for a list of ENVI objects that are supported in the ENVI Task Engine and ESE.



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