Copyright © 2012 Open Geospatial Consortium.
49
complexType complexType name=RoadCollectionPropertyType
sequence minOccurs=0 element ref=xmp:RoadCollection
sequence attributeGroup ref=gml:AssociationAttributeGroup
attributeGroup ref=gml:OwnershipAttributeGroup complexType
element name=Road type=xmp:RoadType substitutionGroup=gml:AbstractFeature
complexType name=RoadType complexContent
extension base=gml:AbstractFeatureType sequence
element name=position type=gml:CurvePropertyType element name=width type=double
element name=name type=string sequence
extension complexContent
complexType complexType name=RoadPropertyType
sequence minOccurs=0 element ref=xmp:Road
sequence attributeGroup ref=gml:AssociationAttributeGroup
attributeGroup ref=gml:OwnershipAttributeGroup complexType
schema
7.1.3.2 ATOM WMS offerings
This is an example for a WMS service that is referenced in an offering:
?xml version=1.0 encoding=UTF-8? ?valbuddy_schematron ..OWSContextCore.sch?
?xml-model href=..atom2005atom.rng type=applicationrelax-ng-regular- syntax?
feed xmlns=http:www.w3.org2005Atom xmlns:xsi=http:www.w3.org2001XMLSchema-instance
xmlns:owc=http:www.opengis.netowc1.0 xsi:schemaLocation=http:www.w3.org2005Atom ..atom2005atom.xsd
http:www.opengis.netowc1.0 ..OWSContextCore.xsd xml:lang=en
50
Copyright © 2012 Open Geospatial Consortium.
category scheme=http:www.opengis.netspecowcspecReference term=http:www.opengis.netspecowc1.0reqatom label=This file is
compliant with version 1.0 of OGC Context idhttp:www.opengis.netowc1.0examplessimples-atom-in-the-worldid
titleThe Simples atom In The Worldtitle updated2012-02-21T11:58:23Zupdated
author nameJname
author entry
idhttp:www.opengis.netowc1.0examplessimples-atom-in-the- world1id
titleThe Simples atom In The Worldtitle updated2012-02-21T11:58:23Zupdated
contentThe Simples atom In The Worldcontent owc:offering code=http:www.opengis.netspecOWC1.0confatomwms
owc:operation code=GetCapabilities href=http:b- maps.commap.cgi?REQUEST=GetCapabilitiesamp;SERVICE=WMSamp;VERSION=1.3.0
owc:operation code=GetMap href=http:b- maps.commap.cgi?VERSION=1.3.0amp;REQUEST=GetMapamp;CRS=CRS:84amp;BBOX=-
97.105,24.913,- 78.794,36.358amp;WIDTH=560amp;HEIGHT=350amp;LAYERS=BUILTUPA_1M,COASTL_1M,POL
BNDL_1Mamp;STYLES=0XFF8080,0X101040,BLACKamp;FORMAT=imagepngamp;BGCOLOR=0xF FFFFFamp;TRANSPARENT=TRUEamp;EXCEPTIONS=INIMAGE
owc:offering entry
feed
7.2 JSON encoding
Not much work has been done in OWS9 to develop this encoding. One of the ideas was to generate a JSON encoding from the XML encoding using an XSLT. The OWS context
SWG has produced some examples on how this can be done, but it is still in progress.
The generation of a JSON encoding seems to be adequate for the use on JavaScript clients. Nevertheless, 2 difficulties are foreseen:
Some OWS service requests need to be produced in XML encoding such as HTTP POST and HTTP SOAP. Sometimes there is no equivalent in KVP. This
operation requires an XML payload that does not currently have JSON encoding. Even if we can generate one, the actual request to the servers will require a
conversion back to XML.
The main in-line content examples that have been produced so far are in GML or KML. Both are XML encodings with no direct equivalence in JSON. The use of