There can be more than one observedProperty per offering in SOS GetCapabilities, p=sonxurxo, r=me (closes #2548)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10314 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -115,6 +115,7 @@ OpenLayers.Format.SOSCapabilities.v1_0_0 = OpenLayers.Class(
|
||||
var id = this.getAttributeNS(node, this.namespaces.gml, "id");
|
||||
offeringList[id] = {
|
||||
procedures: [],
|
||||
observedProperties: [],
|
||||
featureOfInterestIds: [],
|
||||
responseFormats: [],
|
||||
resultModels: [],
|
||||
@@ -131,8 +132,8 @@ OpenLayers.Format.SOSCapabilities.v1_0_0 = OpenLayers.Class(
|
||||
this.namespaces.xlink, "href"));
|
||||
},
|
||||
"observedProperty": function(node, offering) {
|
||||
offering.observedProperty = this.getAttributeNS(node,
|
||||
this.namespaces.xlink, "href");
|
||||
offering.observedProperties.push(this.getAttributeNS(node,
|
||||
this.namespaces.xlink, "href"));
|
||||
},
|
||||
"featureOfInterest": function(node, offering) {
|
||||
offering.featureOfInterestIds.push(this.getAttributeNS(node,
|
||||
|
||||
Reference in New Issue
Block a user