public class OpenSearchGeoTests extends CommonFixture
http://a9.com/-/opensearch/extensions/geo/1.0/.
All implementations must satisfy the requirements of the Core conformance class (see OGC 10-032r8, Table 1). A conforming service must:
geo:box).In an Atom feed or entry, a bounding box is represented using a GeoRSS element. Either the simple or GML variant is acceptable:
georss:box (EPSG 4326)georss:where/{http://www.opengis.net/gml}Envelope (any
CRS)
In addition to the service capabilities listed above, a Catalog v3 service
must also implement the Get record by id conformance class
that allows a client to retrieve a record by identifier
(geo:uid). This requirement is a consequence of applying the
Filter-FES-KVP conformance class to OpenSearch queries (see
Table 1).
Sources
| Modifier and Type | Field and Description |
|---|---|
(package private) static QName |
UID_PARAM |
atomSchema, client, cswCapabilities, cswSchema, request, response, ROOT_PKG_PATH, SCHEMATRON_ATOM| Constructor and Description |
|---|
OpenSearchGeoTests() |
| Modifier and Type | Method and Description |
|---|---|
void |
boundingBoxQuery()
[Test] Submits an OpenSearch request that includes a bounding box in the
normative CRS ("urn:ogc:def:crs:OGC:1.3:CRS84").
|
void |
getResourceById_notFound()
[Test] Submits an OpenSearch request that includes a (randomly generated)
identifier for which there is no matching record.
|
void |
getResourceById()
[Test] Submits an OpenSearch request that includes a resource identifier.
|
void |
initOpenSearchGeoTestsFixture(org.testng.ITestContext testContext)
Initializes the test fixture.
|
void |
invalidBoundingBoxCoords()
[Test] Submits an OpenSearch request that includes a bounding box with
invalid (UTM) coordinates.
|
buildGetRequest, clearMessages, getResponseEntityAsDocument, initCommonFixturestatic final QName UID_PARAM
public void initOpenSearchGeoTestsFixture(org.testng.ITestContext testContext)
testContext - The test context containing various suite attributes.public void getResourceById_notFound()
public void getResourceById()
{geo:uid}
parameter. Any other template parameters are set to their default values.public void invalidBoundingBoxCoords()
public void boundingBoxQuery()
{geo:box} parameter. Any other template parameters are set
to their default values.
All matching record representations in the response entity must satisfy the bounding box constraint. If the entity is an Atom feed, it must also contain the os:Query element that describes the search request.
Copyright © 2018 Open Geospatial Consortium. All rights reserved.