Copyright © 2010 Open Geospatial Consortium
25
Table 32 — GDAS data encoding: V data structure
Name Definition Data type and
values Multiplicity and use
aid Attribute identifier, namely the
corresponding AttributeName Character string
type, not empty Zero or one optional
Include for debugging or facilitation of XML
transformation. null
Boolean value, when present and “true” indicates that this particular
value is missing for some reason, and the contents of the element
must be processed accordingly. Boolean, default is
false. Zero or one optional
Include for all missing values.
Note 1. The null attribute in this structure is redundant with the null element described in Table 22 whenever null values are coded. However, the explicit identification of null values for every “V” element simplifies: 1
numeric calculations in XML, 2 the separation of real data from null values, and 3 the counting of null values.
7.5 Operation request encoding
The encoding of operation requests shall use HTTP GET with KVP encoding and HTTP POST with XML or SOAP with XML encoding as specified in Clause 11 of [OGC 06-
121r3]. Table 33 summarizes the TJS operations and their encoding methods defined in this standard.
Table 33 — Operation request encoding
Operation name Request encoding
GetCapabilities required KVP and optional XML
DescribeFrameworks KVP and optional XML
DescribeDatasets KVP and optional XML
DescribeData KVP and optional XML
GetData KVP and optional XML
DescribeJoinAbilities KVP and optional XML
Describekey KVP and optional XML
JoinData KVP and optional XML
7.6 Multilingual support
The languages supported by a TJS server are identified in the GetCapabilities operation response.
The “language” parameter, an optional parameter for all TJS requests, identifies the clients preferred language. Its value is an RFC 4646 language tag. This tag must match
the contents of one of the Language elements listed in the GetCapabilities response. For
26
Copyright © 2010 Open Geospatial Consortium
each human language text string in the servers response, the server shall return the string in the language requested.
If the “language” parameter is not present in a request, it is recommended that the server attempt to honour the AcceptLanguage MIME header in the HTTP request usually
passed to the process by the web server by means of the HTTP_ACCEPT_LANGUAGES environment variable instead.
The language of the response shall be indicated by the mandatory “lang” attribute which is found in the root element of all TJS service responses.
Copyright © 2010 Open Geospatial Consortium
27
8 GetCapabilities operation mandatory
8.1 Introduction
Like most OGC services, TJS includes a mandatory GetCapabilities operation. This operation allows clients to retrieve service metadata. The response to a GetCapabilities
request shall be an XML document containing service metadata, including specific information about the operations supported by a particular server. This clause specifies
the XML document that a TJS server shall return to describe its capabilities.
8.2 GetCapabilities operation request