Statistics
| Revision:

svn-gvsig-desktop / trunk / libraries / libWMSv0 / wmsSchemas / capabilities_1_1_1.dtd @ 6472

History | View | Annotate | Download (10.2 KB)

1
<!ELEMENT WMT_MS_Capabilities (Service, Capability) >
2

    
3
<!ATTLIST WMT_MS_Capabilities
4
	  version CDATA #FIXED "1.1.1"
5
	  updateSequence CDATA #IMPLIED>
6

    
7
<!-- Elements used in multiple places. -->
8

    
9
<!-- The Name is typically for machine-to-machine communication. -->
10
<!ELEMENT Name (#PCDATA) >
11

    
12
<!-- The Title is for informative display to a human. -->
13
<!ELEMENT Title (#PCDATA) >
14

    
15
<!-- The abstract is a longer narrative description of an object. -->
16
<!ELEMENT Abstract (#PCDATA) > 
17

    
18
<!-- An OnlineResource is typically an HTTP URL.  The URL is placed in the
19
xlink:href attribute.  The xmlns:xlink attribute is a required XML namespace
20
declaration. -->
21
<!ELEMENT OnlineResource EMPTY>
22
<!ATTLIST OnlineResource
23
          xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink"
24
          xlink:type CDATA #FIXED "simple"
25
          xlink:href CDATA #REQUIRED >
26

    
27
<!-- A container for listing an available format's MIME type. -->
28
<!ELEMENT Format (#PCDATA) >
29

    
30

    
31
<!-- General service metadata. -->
32

    
33
<!ELEMENT Service (Name, Title, Abstract?, KeywordList?, OnlineResource,
34
                   ContactInformation?, Fees?, AccessConstraints?) >
35

    
36
<!-- List of keywords or keyword phrases to help catalog searching. -->
37
<!ELEMENT KeywordList (Keyword*) >
38

    
39
<!-- A single keyword or phrase. -->
40
<!ELEMENT Keyword (#PCDATA) >
41

    
42
<!-- Information about a contact person for the service. -->
43
<!ELEMENT ContactInformation  (ContactPersonPrimary?, ContactPosition?,
44
                               ContactAddress?, ContactVoiceTelephone?,
45
                               ContactFacsimileTelephone?,
46
                               ContactElectronicMailAddress?) >
47

    
48
<!--The primary contact person.-->
49
<!ELEMENT ContactPersonPrimary  (ContactPerson, ContactOrganization) >
50

    
51
<!--The person to contact.-->
52
<!ELEMENT ContactPerson  (#PCDATA) >
53

    
54
<!--The organization supplying the service.-->
55
<!ELEMENT ContactOrganization  (#PCDATA) >
56

    
57
<!--The position title for the contact person.-->
58
<!ELEMENT ContactPosition  (#PCDATA) >
59

    
60
<!--The address for the contact supplying the service.-->
61
<!ELEMENT ContactAddress  (AddressType,Address,City,StateOrProvince,PostCode,
62
               Country) >
63

    
64
<!--The type of address.-->
65
<!ELEMENT AddressType  (#PCDATA) >
66

    
67
<!--The street address.-->
68
<!ELEMENT Address  (#PCDATA) >
69

    
70
<!--The address city.-->
71
<!ELEMENT City  (#PCDATA) >
72

    
73
<!--The state or province.-->
74
<!ELEMENT StateOrProvince  (#PCDATA) >
75

    
76
<!--The zip or postal code.-->
77
<!ELEMENT PostCode  (#PCDATA) >
78

    
79
<!--The address country.-->
80
<!ELEMENT Country  (#PCDATA) >
81

    
82
<!--Contact telephone number.-->
83
<!ELEMENT ContactVoiceTelephone  (#PCDATA) >
84

    
85
<!--The contact fax number.-->
86
<!ELEMENT ContactFacsimileTelephone  (#PCDATA) >
87

    
88
<!--The e-mail address for the contact.-->
89
<!ELEMENT ContactElectronicMailAddress  (#PCDATA) >
90

    
91

    
92
<!-- Elements indicating what fees or access constraints are imposed. -->
93
<!ELEMENT Fees (#PCDATA)>
94
<!ELEMENT AccessConstraints (#PCDATA)>
95

    
96
<!ELEMENT VendorSpecificCapabilities (#PCDATA)>
97

    
98
<!-- A Capability lists available request types, how exceptions
99
may be reported, and whether any vendor-specific capabilities are defined.  It
100
also includes an optional list of map layers available from this server. -->
101
<!ELEMENT Capability 
102
          (Request, Exception, VendorSpecificCapabilities?,
103
	   UserDefinedSymbolization?, Layer?) >
104

    
105
<!-- Available WMS Operations are listed in a Request element. -->
106
<!ELEMENT Request (GetCapabilities, GetMap, GetFeatureInfo?,
107
                   DescribeLayer?, GetLegendGraphic?, GetStyles?, PutStyles?) >
108

    
109
<!-- For each operation offered by the server, list the available output
110
formats and the online resource. -->
111
<!ELEMENT GetCapabilities (Format+, DCPType+)>
112
<!ELEMENT GetMap (Format+, DCPType+)>
113
<!ELEMENT GetFeatureInfo (Format+, DCPType+)>
114
<!-- The following optional operations only apply to SLD-enabled WMS -->
115
<!ELEMENT DescribeLayer (Format+, DCPType+)>
116
<!ELEMENT GetLegendGraphic (Format+, DCPType+)>
117
<!ELEMENT GetStyles (Format+, DCPType+)>
118
<!ELEMENT PutStyles (Format+, DCPType+)>
119

    
120
<!-- Available Distributed Computing Platforms (DCPs) are
121
listed here.  At present, only HTTP is defined. -->
122
<!ELEMENT DCPType (HTTP) >
123

    
124
<!-- Available HTTP request methods.  One or both may be supported. -->
125
<!ELEMENT HTTP (Get | Post)+ >
126

    
127
<!-- URL prefix for each HTTP request method. -->
128
<!ELEMENT Get (OnlineResource) >
129
<!ELEMENT Post (OnlineResource) >
130

    
131
<!-- An Exception element indicates which error-reporting formats are supported. -->
132
<!ELEMENT Exception (Format+)>
133

    
134
<!-- Optional user-defined symbolization (used only by SLD-enabled WMSes). -->
135
<!ELEMENT UserDefinedSymbolization EMPTY >
136
<!ATTLIST UserDefinedSymbolization
137
          SupportSLD (0 | 1) "0"
138
          UserLayer (0 | 1) "0"
139
          UserStyle (0 | 1) "0"
140
          RemoteWFS (0 | 1) "0" >
141

    
142
<!-- Nested list of zero or more map Layers offered by this server. -->
143
<!ELEMENT Layer ( Name?, Title, Abstract?, KeywordList?, SRS*,
144
                  LatLonBoundingBox?, BoundingBox*, Dimension*, Extent*,
145
                  Attribution?, AuthorityURL*, Identifier*, MetadataURL*, DataURL*,
146
                  FeatureListURL*, Style*, ScaleHint?, Layer* ) >
147

    
148
<!-- Optional attributes-->
149
<!ATTLIST Layer queryable (0 | 1) "0"
150
                cascaded CDATA #IMPLIED
151
                opaque (0 | 1) "0"
152
                noSubsets (0 | 1) "0"
153
                fixedWidth CDATA #IMPLIED
154
                fixedHeight CDATA #IMPLIED >
155
          
156
<!-- Identifier for a single Spatial Reference Systems (SRS). -->
157
<!ELEMENT SRS (#PCDATA) >
158

    
159
<!-- The LatLonBoundingBox attributes indicate the edges of the enclosing
160
rectangle in latitude/longitude decimal degrees (as in SRS EPSG:4326 [WGS1984
161
lat/lon]). -->
162
<!ELEMENT LatLonBoundingBox EMPTY>
163
<!ATTLIST LatLonBoundingBox 
164
          minx CDATA #REQUIRED
165
          miny CDATA #REQUIRED
166
          maxx CDATA #REQUIRED
167
          maxy CDATA #REQUIRED>
168

    
169
<!-- The BoundingBox attributes indicate the edges of the bounding box
170
in units of the specified spatial reference system. -->
171
<!ELEMENT BoundingBox EMPTY>
172
<!ATTLIST BoundingBox 
173
          SRS CDATA #REQUIRED
174
          minx CDATA #REQUIRED
175
          miny CDATA #REQUIRED
176
          maxx CDATA #REQUIRED
177
          maxy CDATA #REQUIRED
178
          resx CDATA #IMPLIED
179
          resy CDATA #IMPLIED>
180

    
181
<!-- The Dimension element declares the _existence_ of a dimension. -->
182
<!ELEMENT Dimension EMPTY >
183
<!ATTLIST Dimension
184
          name CDATA #REQUIRED
185
          units CDATA #REQUIRED
186
          unitSymbol CDATA #IMPLIED>
187

    
188
<!-- The Extent element indicates what _values_ along a dimension are valid. -->
189
<!ELEMENT Extent (#PCDATA) >
190
<!ATTLIST Extent
191
          name CDATA #REQUIRED
192
          default CDATA #IMPLIED
193
          nearestValue (0 | 1) "0">
194

    
195
<!-- Attribution indicates the provider of a Layer or collection of Layers.
196
The provider's URL, descriptive title string, and/or logo image URL may be
197
supplied.  Client applications may choose to display one or more of these
198
items.  A format element indicates the MIME type of the logo image located at
199
LogoURL.  The logo image's width and height assist client applications in
200
laying out space to display the logo. -->
201
<!ELEMENT Attribution ( Title?, OnlineResource?, LogoURL? )>
202
<!ELEMENT LogoURL (Format, OnlineResource) >
203
<!ATTLIST LogoURL
204
          width NMTOKEN #REQUIRED
205
          height NMTOKEN #REQUIRED>
206

    
207
<!-- A Map Server may use zero or more MetadataURL elements to offer detailed,
208
standardized metadata about the data underneath a particular layer. The type
209
attribute indicates the standard to which the metadata complies.  Two types
210
are defined at present: 'TC211' = ISO TC211 19115; 'FGDC' = FGDC CSDGM.  The
211
format element indicates how the metadata is structured. -->
212
<!ELEMENT MetadataURL (Format, OnlineResource) >
213
<!ATTLIST MetadataURL
214
          type ( TC211 | FGDC ) #REQUIRED>
215

    
216
<!-- A Map Server may use zero or more Identifier elements to list ID numbers
217
or labels defined by a particular Authority.  For example, the Global Change
218
Master Directory (gcmd.gsfc.nasa.gov) defines a DIF_ID label for every
219
dataset.  The authority name and explanatory URL are defined in a separate
220
AuthorityURL element, which may be defined once and inherited by subsidiary
221
layers.  Identifiers themselves are not inherited. -->
222

    
223
<!ELEMENT AuthorityURL (OnlineResource) >
224
<!ATTLIST AuthorityURL
225
          name NMTOKEN #REQUIRED >
226
<!ELEMENT Identifier (#PCDATA) >
227
<!ATTLIST Identifier
228
          authority CDATA #REQUIRED >
229

    
230
<!-- A Map Server may use DataURL to offer more information about the data
231
underneath a particular layer. While the semantics are not well-defined, as
232
long as the results of an HTTP GET request against the DataURL are properly
233
MIME-typed, Viewer Clients and Cascading Map Servers can make use of this. -->
234
<!ELEMENT DataURL (Format, OnlineResource) >
235

    
236
<!-- A Map Server may use FeatureListURL to point to a list of the features
237
represented in a Layer. -->
238
<!ELEMENT FeatureListURL (Format, OnlineResource) >
239

    
240
<!-- A Style element lists the name by which a style is requested and a
241
human-readable title for pick lists, optionally (and ideally) provides a
242
human-readable description, and optionally gives a style URL. -->
243
<!ELEMENT Style ( Name, Title, Abstract?,
244
                  LegendURL*, StyleSheetURL?, StyleURL? ) >
245

    
246
<!-- A Map Server may use zero or more LegendURL elements to provide an
247
image(s) of a legend relevant to each Style of a Layer.  The Format element
248
indicates the MIME type of the legend. Width and height attributes are
249
provided to assist client applications in laying out space to display the
250
legend. -->
251
<!ELEMENT LegendURL (Format, OnlineResource) >
252
<!ATTLIST LegendURL
253
          width NMTOKEN #REQUIRED
254
          height NMTOKEN #REQUIRED>
255

    
256
<!-- StyleSheeetURL provides symbology information foreach Style of a Layer. -->
257
<!ELEMENT StyleSheetURL (Format, OnlineResource) >
258

    
259
<!-- A Map Server may use StyleURL to offer more information about the data or
260
symbology underlying a particular Style. While the semantics are not
261
well-defined, as long as the results of an HTTP GET request against the
262
StyleURL are properly MIME-typed, Viewer Clients and Cascading Map Servers can
263
make use of this. A possible use could be to allow a Map Server to provide
264
legend information. -->
265
<!ELEMENT StyleURL (Format, OnlineResource) >
266

    
267
<!-- Minimum and maximum scale hints for which it is appropriate to
268
display this layer. -->
269
<!ELEMENT ScaleHint EMPTY>
270
<!ATTLIST ScaleHint
271
          min CDATA #REQUIRED
272
          max CDATA #REQUIRED>
273

    
274

    
275