Added full suite of wcs 1.1.0 tests, all are passing

This commit is contained in:
Christopher Eykamp
2012-12-27 14:28:46 +01:00
parent a8f1c76811
commit be7c55f432
2 changed files with 46 additions and 160 deletions

View File

@@ -65,15 +65,14 @@ OpenLayers.Format.WCSCapabilities.v1_1_0 = OpenLayers.Class(
},
"Contents": function(node, request) {
var contents = [];
this.readChildNodes(node, contents);
request.contents = contents;
request.contents = [];
this.readChildNodes(node, request.contents);
},
"CoverageSummary": function(node, contents) {
contents.coverageSummary = {};
this.readChildNodes(node, contents.coverageSummary);
var coverageSummary = {};
this.readChildNodes(node, coverageSummary); // Read the summary
contents.push(coverageSummary); // Add it to the contents array
},
"Identifier": function(node, coverageSummary) {