GetRecords Request GetRecords Operation

OGC 06-131r6 Copyright © 2010 Open Geospatial Consortium, Inc.Copyright © 2010 O Parameter Data type and value Optionality ConstraintLanguage CodeList. The only supported value is ‘FILTER’ default value. Note that the support of the 1.1.0 version of OGC Filter Encoding [OGC 04-095] is mandatory. Optional Constraint String. The predicate expression specified in the language indicated by the ConstraintLanguage parameter. Default action is to execute an unconstrained query. Optional. SortBy List of Character String, comma separated Ordered list of names of metadata elements to use for sorting the response. Default action is to present the records in the order in which they are received. 10 Optional DistributedSearch Boolean. Not Supported a HopCount Integer. Not Supported a ResponseHandler URL. Not Supported a a Not supported yet in the ebRIM Application Profile The following XML-Schema fragments define the XML encoding of the GetRecords operation request: 10 The CSW specification OGC07-006r1 defines the syntax of the SortBy parameter in the section 10.8.4.12. In this section, no default sort order is defined but the Table 11 from the Abstract model stipulates that the default sort order is descending. If the the SortBy parameter is not specified, there is no constraint on the records order. Unsupported properties are ignored without throwing errors. pen Geospatial Consortium, Inc. 61 Open Geospatial Consortium Inc. OGC 06-131r6 62 Co pyright © 2010 Open Geospatial Consortium, Inc. OGC 06-131r6 Copyright © 2010 Open Geospatial Consortium, Inc.Copyright © 2010 O Figure 18: CSW-discovery.xsd 2.0.2 GetRecords complex type pen Geospatial Consortium, Inc. 63 Open Geospatial Consortium Inc. OGC 06-131r6 64 Co Figure 19: CSW-discovery.xsd 2.0.2 Query complex type

9.2.2.2 GetRecords Response

If the request is processed successfully, the body of the response message shall include an XML document where the document element has the following infoset properties: • A [local name] of ‘GetRecordsResponse’, • A [namespace name] of ‘ http:www.opengis.netcatcsw2.0.2 ’ usually represented by the ‘csw’ prefix. The search results may include a sequence of either csw:Record or rim:RegistryObject elements. In any case valid substitution elements may also be included, where these typically correspond to different views or instances of record subtypes. The record representation shall conform to the requested output schema. The value of the outputSchema attribute in the request restricts which elements may appear in the response. If not specified, ebRIM representations are returned. Table 16 — Allowable Catalogue Record Representation OutputSchema Record representations http:www.opengis.netcatcsw2.0.2 csw:Record csw:SummaryRecord csw:BriefRecord pyright © 2010 Open Geospatial Consortium, Inc. OGC 06-131r6 Copyright © 2010 Open Geospatial Consortium, Inc.Copyright © 2010 O OutputSchema Record representations urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0 rim:RegistryObject Any subtype of rim:RegistryObject The following XML-Schema fragments define the XML format response to a GetRecords operation: Figure 20: CSW-discovery.xsd 2.0.2 GetRecordsResponse complex type