source:
branches/PublicaMundi_David-devel/docs/api/zoo-process.rst
@
817
Last change on this file since 817 was 696, checked in by djay, 10 years ago | |
---|---|
|
|
File size: 3.6 KB |
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 |
---|---|
{String} Schema location for a particular minor version. | |
{Object} Mapping of namespace aliases to namespace URIs. | |
{String} The OGC's Web PRocessing Service URL, default is http://localhost/zoo. | |
{String} Process identifier in the OGC's Web Processing Service. | |
Create a new Process | |
Query the OGC's Web PRocessing Servcie to Execute the process. | |
Object containing methods to build WPS inputs. | |
Given an E4XElement representing the WPS complex data input. | |
Given an E4XElement representing the WPS reference input. | |
Given an E4XElement representing the WPS literal data input. | |
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 indetifierdata {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 indetifierdata {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 indetifierdata {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.