1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<xs:schema targetNamespace="http://www.opengis.net/ows"
|
3
|
xmlns:ogc="http://www.opengis.net/ows"
|
4
|
xmlns:sld="http://www.opengis.net/sld"
|
5
|
xmlns:gml="http://www.opengis.net/gml"
|
6
|
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
7
|
elementFormDefault="qualified">
|
8
|
|
9
|
|
10
|
|
11
|
<xs:import namespace="http://www.opengis.net/gml"
|
12
|
schemaLocation="geometry.xsd"/>
|
13
|
|
14
|
<xs:import namespace="http://www.opengis.net/sld"
|
15
|
schemaLocation="StyledLayerDescriptor.xsd"/>
|
16
|
|
17
|
<xs:annotation>
|
18
|
<xs:documentation xml:lang="en">
|
19
|
XML Schema for OGC Web Map Service GetMap request.
|
20
|
</xs:documentation>
|
21
|
</xs:annotation>
|
22
|
|
23
|
|
24
|
<xs:element name="GetMap">
|
25
|
<xs:complexType>
|
26
|
<xs:sequence>
|
27
|
<xs:element ref="sld:StyledLayerDescriptor" />
|
28
|
<xs:element name="BoundingBox" type="gml:BoxType"/>
|
29
|
<xs:element name="Output">
|
30
|
<xs:complexType>
|
31
|
<xs:sequence>
|
32
|
<xs:element name="Format" type="ogc:FormatType"/>
|
33
|
<xs:element name="Transparent" type="xs:boolean" minOccurs="0"/>
|
34
|
<xs:element name="BGcolor" type="xs:string" minOccurs="0"/>
|
35
|
<xs:element name="Size">
|
36
|
<xs:complexType>
|
37
|
<xs:sequence>
|
38
|
<xs:element name="Width" type="xs:positiveInteger"/>
|
39
|
<xs:element name="Height" type="xs:positiveInteger"/>
|
40
|
</xs:sequence>
|
41
|
</xs:complexType>
|
42
|
</xs:element><!--Size-->
|
43
|
</xs:sequence>
|
44
|
</xs:complexType>
|
45
|
</xs:element><!--Output-->
|
46
|
<xs:element name="Exceptions" type="ogc:ExceptionsType" minOccurs="0"/>
|
47
|
<xs:element name="Vendor" type="ogc:VendorType" minOccurs="0"/>
|
48
|
</xs:sequence>
|
49
|
<xs:attribute name="version" type="xs:string" use="required"/>
|
50
|
<xs:attribute name="service" type="ogc:OWSType" use="required"/>
|
51
|
</xs:complexType>
|
52
|
</xs:element><!--GetMap-->
|
53
|
<!--Type definitions-->
|
54
|
<xs:simpleType name="ExceptionsType">
|
55
|
<xs:restriction base="xs:string">
|
56
|
<xs:enumeration value="application/vnd.ogc.se+inimage"/>
|
57
|
<xs:enumeration value="application/vnd.ogc.se+xml"/>
|
58
|
</xs:restriction>
|
59
|
</xs:simpleType>
|
60
|
<xs:simpleType name="FormatType">
|
61
|
<xs:restriction base="xs:string">
|
62
|
<xs:enumeration value="image/gif"/>
|
63
|
<xs:enumeration value="image/jpg"/>
|
64
|
<xs:enumeration value="image/jpeg"/>
|
65
|
<xs:enumeration value="image/png"/>
|
66
|
</xs:restriction>
|
67
|
</xs:simpleType>
|
68
|
<xs:simpleType name="OWSType">
|
69
|
<xs:restriction base="xs:string">
|
70
|
<xs:enumeration value="WMS"/>
|
71
|
</xs:restriction>
|
72
|
</xs:simpleType>
|
73
|
<xs:complexType name="VendorType"/>
|
74
|
<!--not sure how to define vendor-specific area in open manner-->
|
75
|
</xs:schema>
|