Copyright © 2010 Open Geospatial Consortium Inc.
31
documentation annotation
-- =============================================================
includes and imports ==============================================================
-- import
namespace =
http:www.opengis.netows1.1 schemaLocation
= ....ows1.1.0owsAll.xsd
-- ==============================================================
elements and types ==============================================================
-- element
name =
Capabilities complexType
complexContent extension
base =
ows:CapabilitiesBaseType sequence
element name
= Contents
type =
wmts:ContentsType minOccurs
= element
ref =
wmts:Themes minOccurs
= maxOccurs
= unbounded
element name
= WSDL
type =
ows:OnlineResourceType minOccurs
= maxOccurs
= unbounded
element name
= ServiceMetadataURL
type =
ows:OnlineResourceType minOccurs
= maxOccurs
= unbounded
sequence extension
complexContent complexType
element ...
schema
As indicated above, this XML Schema document uses the owsServiceIdentification.xsd, owsServiceProvider.xsd, and owsOperationsMetadata.xsd schemas specified in OWS
Common [OGC 06-121r3]. It also uses an XML Schema document for the ―Contents‖
sections of the WMTS ServiceMetadata XML document, which is included in the wmtsGetCapabilities_response.xsd file. All these XML Schema documents contain
documentation of the meaning of each element, attribute and type, and this documentation SHALL be considered normative as specified in subclause 11.6.3 of OWS
Common [OGC 06-121r3].
Annex B contains more details on this normative set of XML Schema documents.
7.1.1.3 ServiceMetadata document example
A WMTS server might generate a ServiceMetadata document that looks like the following example. Another example can be found in Annex D:
?xml version=1.0 encoding=UTF-8? Capabilities
xmlns =
http:www.opengis.netwmts1.0 xmlns:ows
= http:www.opengis.netows1.1
xmlns:xlink =
http:www.w3.org1999xlink xmlns:xsi
= http:www.w3.org2001XMLSchema-instance
xmlns:gml =
http:www.opengis.netgml xsi:schemaLocation
= http:www.opengis.netwmts1.0
32
Copyright © 2010 Open Geospatial Consortium Inc. ..wmtsGetCapabilities_response.xsd
version =
1.0.0 ows:ServiceIdentification
ows:Title World example Web Map Tile Service
ows:Title ows:Abstract
Example service that constrains some world layers in the GlobalCRS84Pixel Well-known scale set
ows:Abstract ows:Keywords
ows:Keyword World
ows:Keyword ows:Keyword
Global ows:Keyword
ows:Keyword Digital Elevation Model
ows:Keyword ows:Keyword
Administrative Boundaries ows:Keyword
ows:Keywords ows:ServiceType
OGC WMTS ows:ServiceType
ows:ServiceTypeVersion 1.0.0
ows:ServiceTypeVersion ows:Fees
none ows:Fees
ows:AccessConstraints none
ows:AccessConstraints ows:ServiceIdentification
ows:ServiceProvider ows:ProviderName
UAB-CREAF-MiraMon ows:ProviderName
ows:ProviderSite xlink:href
= http:www.creaf.uab.catmiramon
ows:ServiceContact ows:IndividualName
Joan Maso Pau ows:IndividualName
ows:PositionName Senior Software Engineer
ows:PositionName ows:ContactInfo
ows:Phone ows:Voice
+34 93 581 1312 ows:Voice
ows:Facsimile +34 93 581 4151
ows:Facsimile ows:Phone
ows:Address ows:DeliveryPoint
Fac Ciencies UAB ows:DeliveryPoint
ows:City Bellaterra
ows:City ows:AdministrativeArea
Barcelona ows:AdministrativeArea
ows:PostalCode 08193
ows:PostalCode ows:Country
Spain ows:Country
ows:ElectronicMailAddress joan.masouab.cat
ows:ElectronicMailAddress ows:Address
ows:ContactInfo ows:ServiceContact
ows:ServiceProvider ows:OperationsMetadata
ows:Operation name
= GetCapabilities
ows:DCP ows:HTTP
ows:Get xlink:href
= http:www.maps.bobmaps.cgi?
ows:Constraint name
= GetEncoding
ows:AllowedValues ows:Value
KVP ows:Value
ows:AllowedValues ows:Constraint
ows:Get ows:Post
xlink:href =
http:www.maps.bobmaps.cgi? ows:Constraint
name =
PostEncoding ows:AllowedValues
ows:Value SOAP
ows:Value