Changeset 9535
- Timestamp:
- 07/01/09 15:03:11 (9 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/bartvde/sosclient/openlayers/lib/OpenLayers/Format/SOSCapabilities/v1_0_0.js
r9533 r9535 20 20 ows: "http://www.opengis.net/ows/1.1", 21 21 sos: "http://www.opengis.net/sos/1.0", 22 gml: "http://www.opengis.net/gml", 22 23 xlink: "http://www.w3.org/1999/xlink" 23 24 }, … … 67 68 */ 68 69 readers: { 70 "gml": { 71 "name": function(node, obj) { 72 obj.name = this.getChildValue(node); 73 } 74 }, 69 75 "sos": { 70 76 "Capabilities": function(node, obj) { 71 77 this.readChildNodes(node, obj); 78 }, 79 "Contents": function(node, obj) { 80 this.readChildNodes(node, obj); 81 }, 82 "ObservationOfferingList": function(node, obj) { 83 obj.offeringList = []; 84 this.readChildNodes(node, obj.offeringList); 85 }, 86 "ObservationOffering": function(node, obj) { 87 var offering = {id: this.getAttributeNS(node, this.namespaces.gml, "id")}; 88 obj.push(offering); 89 this.readChildNodes(node, offering); 72 90 } 73 91 }, … … 104 122 obj.observedProperties = []; 105 123 this.readChildNodes(node, obj.observedProperties); 124 } else if (name === "procedure") { 125 obj.procedures = []; 126 this.readChildNodes(node, obj.procedures); 106 127 } else if (name === "outputFormat") { 107 128 obj.outputFormat = [];
