ZOO.Process

Used to query OGC WPS process defined by its URL and its identifier. Useful for chaining localhost process.

Properties and Functions

NAME

DESCRIPTION

schemaLocation

{String} Schema location for a particular minor version.

namespaces

{Object} Mapping of namespace aliases to namespace URIs.

url

{String} The OGC’s Web PRocessing Service URL, default is http://localhost/zoo.

identifier

{String} Process identifier in the OGC’s Web Processing Service.

ZOO.Process

Create a new Process

Execute

Query the OGC’s Web PRocessing Servcie to Execute the process.

buildInput

Object containing methods to build WPS inputs.

buildInput.complex

Given an E4XElement representing the WPS complex data input.

buildInput.reference

Given an E4XElement representing the WPS reference input.

buildInput.literal

Given an E4XElement representing the WPS literal data input.

buildDataInputsNode

Method to build the WPS DataInputs element.

schemaLocation

{String} Schema location for a particular minor version.

namespaces

{Object} Mapping of namespace aliases to namespace URIs.

url

{String} The OGC’s Web PRocessing Service URL, default is http://localhost/zoo.

identifier

{String} Process identifier in the OGC’s Web Processing Service.

ZOO.Process

Create a new Process

Parameters

url {String} The OGC’s Web Processing Service URL.
identifier {String} The process identifier in the OGC’s Web Processing Service.
Execute
Execute: function(inputs)

Query the OGC’s Web PRocessing Servcie to Execute the process.

Parameters

inputs {Object}

Returns

{String} The OGC’s Web processing Service XML response. The result needs to be interpreted.

buildInput

Object containing methods to build WPS inputs.

buildInput.complex

Given an E4XElement representing the WPS complex data input.

Parameters

identifier {String} the input indetifier
data {Object} A WPS complex data input.

Returns

{E4XElement} A WPS Input node.

buildInput.reference

Given an E4XElement representing the WPS reference input.

Parameters

identifier {String} the input indetifier
data {Object} A WPS reference input.

Returns

{E4XElement} A WPS Input node.

buildInput.literal

Given an E4XElement representing the WPS literal data input.

Parameters

identifier {String} the input indetifier
data {Object} A WPS literal data input.

Returns

{E4XElement} The WPS Input node.

buildDataInputsNode
buildDataInputsNode:function(inputs)

Method to build the WPS DataInputs element.

Parameters

inputs {Object}

Returns

{E4XElement} The WPS DataInputs node for Execute query.