Remove uneeded readers from WCS 1.0.0

This commit is contained in:
Christopher Eykamp
2012-12-27 13:47:16 +01:00
parent b6c2c26580
commit 809ecb1155

View File

@@ -46,7 +46,7 @@ OpenLayers.Format.WCSCapabilities.v1_0_0 = OpenLayers.Class(
* run through an OGCExceptionReport parser.
*/
errorProperty: "service",
/**
* Property: readers
@@ -188,30 +188,7 @@ OpenLayers.Format.WCSCapabilities.v1_0_0 = OpenLayers.Class(
coverageOfferingBrief.lonLatEnvelope.max = max;
}
}
},
////////////////////////////////////////////////////////////////////////////////////////////
"DCPType": function(node, obj) {
this.readChildNodes(node, obj);
},
"HTTP": function(node, obj) {
this.readChildNodes(node, obj.href);
},
"Get": function(node, obj) {
obj.get = node.getAttribute("onlineResource");
},
"Post": function(node, obj) {
obj.post = node.getAttribute("onlineResource");
},
"SRS": function(node, obj) {
var srs = this.getChildValue(node);
if (srs) {
obj.srs = srs;
}
}
}, OpenLayers.Format.WCSCapabilities.v1.prototype.readers["wcs"])
},