WPS example; support for BoundingBox in WPS format
This commit is contained in:
@@ -175,6 +175,9 @@ OpenLayers.Format.WPSExecute = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||
if (input.reference) {
|
||||
this.writeNode("wps:Reference", input.reference, node);
|
||||
}
|
||||
if (input.boundingBoxData) {
|
||||
this.writeNode("wps:BoundingBoxData", input.boundingBoxData, node);
|
||||
}
|
||||
return node;
|
||||
},
|
||||
"Data": function(data) {
|
||||
@@ -228,6 +231,9 @@ OpenLayers.Format.WPSExecute = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||
}
|
||||
return node;
|
||||
},
|
||||
"BoundingBoxData": function(node, obj) {
|
||||
this.writers['ows']['BoundingBox'].apply(this, [node, obj, "wps:BoundingBoxData"]);
|
||||
},
|
||||
"Body": function(body) {
|
||||
var node = this.createElementNSPlus("wps:Body", {});
|
||||
if (body.wcs) {
|
||||
|
||||
Reference in New Issue
Block a user