diff --git a/src/ol/format/ows.js b/src/ol/format/ows.js index 57846e0d6e..dc4615a398 100644 --- a/src/ol/format/ows.js +++ b/src/ol/format/ows.js @@ -403,6 +403,9 @@ ol.format.OWS.SERVICE_CONTACT_PARSERS_ = ol.format.OWS.SERVICE_IDENTIFICATION_PARSERS_ = ol.xml.makeStructureNS( ol.format.OWS.NAMESPACE_URIS_, { + 'Abstract': ol.xml.makeObjectPropertySetter(ol.format.XSD.readString), + 'AccessConstraints': ol.xml.makeObjectPropertySetter(ol.format.XSD.readString), + 'Fees': ol.xml.makeObjectPropertySetter(ol.format.XSD.readString), 'Title': ol.xml.makeObjectPropertySetter(ol.format.XSD.readString), 'ServiceTypeVersion': ol.xml.makeObjectPropertySetter( ol.format.XSD.readString), diff --git a/test/spec/ol/format/ows.test.js b/test/spec/ol/format/ows.test.js index 75da5a7bb1..4d38dda534 100644 --- a/test/spec/ol/format/ows.test.js +++ b/test/spec/ol/format/ows.test.js @@ -82,6 +82,11 @@ describe('ol.format.OWS 1.1', function() { var serviceIdentification = obj.ServiceIdentification; expect(serviceIdentification).to.be.ok(); + expect(serviceIdentification.Abstract).to.eql( + 'Service that contrains the map access interface to some TileMatrixSets' + ); + expect(serviceIdentification.AccessConstraints).to.eql('none'); + expect(serviceIdentification.Fees).to.eql('none'); expect(serviceIdentification.Title).to.eql('Web Map Tile Service'); expect(serviceIdentification.ServiceTypeVersion).to.eql('1.0.0'); expect(serviceIdentification.ServiceType).to.eql('OGC WMTS');