-
Notifications
You must be signed in to change notification settings - Fork 43
WPS Manager
Include in buildjs these files:
gxp/src/script/plugins/client/lib/GeoStoreClient.js
##Plugin Description The WPS Manager Plugin provides a high level API for interaction with Web Processing Services (WPS) and manager the Process instances.
An gxp.plugins.WPSManager uses a OpenLayersExt.WPSClient for the WPS intercation and a gxp.plugins.GeoStoreClient to store the Execute instances.
The WPS Manager Plugin supports synchronous and asynchronus Execute requests. For the asynchronous request supports the status update, for the synchronous requests supports the "raw" data outputs. When the WPSManager plugin is instantiated a "Geostore Category" called as plugin id is created. For each Execute request a "Geostore Resource" is created. The resource description contains a execute status information and the output type (raw or not raw). The resource store data contains directly the output if the output type is raw or a JSON Object wich contains the Execute response information. For the Execute response parsing is used the OpenLayersExt.Format.WPSExecute object.
##Configuration Exemple
Besides the plugin configuration the following script import must be uncommented from the composer.html file:
<!-- Externatls OpenLayers libraries to manage WPS processes -->
<script type="text/javascript" src="script/OpenLayersExt.js"></script>
Then you have to specify the below plugin configuration:
{
"ptype": "gxp_wpsmanager",
"id": "wpsSPM",
"url": "http://84.33.1.254/geoserver/wps",
"geostoreUrl": "http://localhost:8080/geostore/rest",
"geostoreUser": "admin",
"geostorePassword": "admin",
"geostoreProxy": "/http_proxy/proxy?url="
}
-
ptype: ptype of the plugin -
id: plugin identifies -
url: URL of the WPS service -
geostoreUrl: GeoStore REST base URL -
geostoreUser: a valid user name to allow Categorty creation -
geostorePassword: the corresponding user password -
geostoreProxy: The proxy to use for Ajax cross domain requests.