Copyright © 2010 Open Geospatial Consortium, Inc.
55
9.3.4 Examples
9.3.4.1 GetResourceByID request
A GetResourceByID operation request for a coordinate transformation might be encoded in KVP like this:
www.lat- lon.detransform?service=WCTSrequest=GetResourceByIDversion=0.0.0Res
ourceID=urn:ogc:def:coordinateOperation:EPSG:6.3:19916
The corresponding GetResourceByID operation request encoded in XML is:
?xml version=1.0 encoding=UTF-8? GetResourceByID xmlns=http:www.opengis.netwcts
xmlns:xlink=http:www.w3.org1999xlink xmlns:xsi=http:www.w3.org2001XMLSchema-instance
xsi:schemaLocation=http:www.opengis.netwcts ..SchemaswctsGetResourceByID.xsd service=WCTS version=0.0.0
-- Primary editor: Arliss Whiteside. Last updated 2005-02-22-- Transformationurn:ogc:def:coordinateOperation:EPSG:6.3:19916Tran
sformation GetResourceByID
9.3.4.2 GetResourceByID response
If no exception occurs, the server will reply to a GetResourceByID request for a coordinate transformation with a list of one or more transformations contained in the
gml:Dictionary element. If transformation EPSG 19916 is requested, the response might be:
?xml version=1.0 encoding=UTF-8? Dictionary xmlns=http:www.opengis.netgml
xmlns:gml=http:www.opengis.netgml xmlns:xlink=http:www.w3.org1999xlink
xmlns:xsi=http:www.w3.org2001XMLSchema-instance xsi:schemaLocation=http:www.opengis.netgml
..gml3.1.1basecoordinateOperations.xsd gml:id=GetDescriptionResponse
-- Primary editor: Arliss Whiteside. Last updated 2005-02-22-- -- This XML example is for a specific coordinate operation that
uses the well-known Transverse Mercator operation method as defined by the EPSG. --
nameGet Description Response Messagename dictionaryEntry
Conversion gml:id=EPSG19916 coordinateOperationNameTransverse
MercatorcoordinateOperationName coordinateOperationID
name codeSpace=urn:ogc:def:coordinateOperation:EPSG:6.0:19916name
coordinateOperationID usesMethod xlink:href=urn:ogc:def:method:EPSG:6.0:9807
xlink:title=Transverse Mercator
56
Copyright © 2010 Open Geospatial Consortium, Inc. usesValue
value uom=urn:ogc:def:uom:OGC:1.0:degree49value valueOfParameter
xlink:href=urn:ogc:def:parameter:EPSG:6.0:8801 xlink:title=Latitude of natural origin
usesValue usesValue
value uom=urn:ogc:def:uom:OGC:1.0:degree-2value valueOfParameter
xlink:href=urn:ogc:def:parameter:EPSG:6.0:8802 xlink:title=Longitude of natural origin
usesValue usesValue
value uom=urn:ogc:def:uom:OGC:1.0:unity0.999601272value
valueOfParameter xlink:href=urn:ogc:def:parameter:EPSG:6.0:8805 xlink:title=Scale
factor at natural origin usesValue
usesValue value uom=urn:ogc:def:uom:OGC:1.0:metre400000value
valueOfParameter xlink:href=urn:ogc:def:parameter:EPSG:6.0:8806 xlink:title=False
Easting usesValue
usesValue value uom=urn:ogc:def:uom:OGC:1.0:metre-100000value
valueOfParameter xlink:href=urn:ogc:def:parameter:EPSG:6.0:8807 xlink:title=False
Northing usesValue
Conversion dictionaryEntry
Dictionary
9.4 Operation response
In the event that an OWS server encounters an error servicing an operation request, it shall return an exception report message as specified in Clause 8. The allowed exception
codes shall be specified for each operation in the Implementations specification, and shall include the relevant standard exception codes listed in Table 27.
10 Other operation parameters
10.1 Introduction
This clause specifies some other parameters used in multiple OWSs by multiple operation requests and responses, including:
a Bounding boxes b Coordinate reference system references