Remove uneeded readers from WCS 1.0.0
This commit is contained in:
@@ -46,7 +46,7 @@ OpenLayers.Format.WCSCapabilities.v1_0_0 = OpenLayers.Class(
|
|||||||
* run through an OGCExceptionReport parser.
|
* run through an OGCExceptionReport parser.
|
||||||
*/
|
*/
|
||||||
errorProperty: "service",
|
errorProperty: "service",
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Property: readers
|
* Property: readers
|
||||||
@@ -188,30 +188,7 @@ OpenLayers.Format.WCSCapabilities.v1_0_0 = OpenLayers.Class(
|
|||||||
coverageOfferingBrief.lonLatEnvelope.max = max;
|
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"])
|
}, OpenLayers.Format.WCSCapabilities.v1.prototype.readers["wcs"])
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user