You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25-21Lines changed: 25 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@
12
12
-[STAC API - Core](https://github.com/radiantearth/stac-api-spec/blob/main/core)
13
13
-[STAC API - Collections](https://github.com/radiantearth/stac-api-spec/tree/main/ogcapi-features)
14
14
-[OGC API - Common - Part 2: Geospatial Data](https://portal.ogc.org/files/99149)
15
-
-[OGC API - Records - Part 2: Collections](https://github.com/opengeospatial/ogcapi-records/tree/master/extensions/collections)
15
+
-[OGC API - Records - Part 1: Local Resource Catalogue](https://docs.ogc.org/DRAFTS/20-004.html#clause-local-resources-catalogue)
16
16
-**Owner**: @m-mohr
17
17
18
18
A search endpoint provides the ability to query
@@ -25,11 +25,11 @@ The Collection Search endpoint by default doesn't provide any query parameters t
25
25
additional behavior will be defined in [Extensions](#extensions). These extensions can be composed
26
26
by an implementer to cover only the set of functionality the implementer requires.
27
27
28
-
This extension is based on *[OGC API - Common - Part 2: Geospatial Data](https://portal.ogc.org/files/99149#rc-simple-query-section)* and *[OGC API - Records - Part 2: Collections](https://github.com/opengeospatial/ogcapi-records/tree/master/extensions/collections)*
28
+
This extension is based on *[OGC API - Common - Part 2: Geospatial Data](https://portal.ogc.org/files/99149#rc-simple-query-section)*
29
+
and aligned to *[OGC API - Records - Part 1: Local Resource Catalogue](https://docs.ogc.org/DRAFTS/20-004.html#clause-local-resources-catalogue)*
29
30
and selectively implements a subset of their "requirements classes".
30
31
31
-
All functionality is only defined for `GET /collections` in *OGC API - Records - Part 2: Collections*.
32
-
32
+
All functionality in *OGC API - Records - Part 1: Local Resource Catalogue* is only defined for the `GET` method (i.e. `GET /collections`).
33
33
*Note:* STAC may add behavior for `POST /collections` in the future, but due to a potential conflict
34
34
with the Transaction Extension, specific rules for content negotiation might be required.
35
35
@@ -44,29 +44,41 @@ for details.
44
44
### Basics
45
45
46
46
A basic set of query parameters MUST be implemented.
47
-
These are aligned with the corresponding parameters in STAC API - Features:
48
-
-`bbox`
49
-
-`datetime`
50
-
-`limit`
47
+
These are aligned with the corresponding parameters in STAC API - Features and OGC API - Records:
48
+
-[`bbox`](https://docs.ogc.org/DRAFTS/20-004.html#_parameter_bbox) (intersection of the given `bbox` with any of the spatial extent provided in a STAC Collection at `extent.spatial.bbox`)
49
+
-[`datetime`](https://docs.ogc.org/DRAFTS/20-004.html#_parameter_datetime) (intersection of the given `datetime` with any of the temporal extent provided in a STAC Collection at `extent.temporal.interval`)
Requirement class in *OGC API - Common - Part 2: Geospatial Data*: [Simple Query](https://portal.ogc.org/files/99149#rc-simple-query-section)
53
53
54
54
### Extensions
55
55
56
+
#### Free text search
57
+
58
+
A free-text search parameter `q` based on OGC API - Records can be added.
59
+
See <https://docs.ogc.org/DRAFTS/20-004.html#_parameter_q> for details.
60
+
It is case-insensitive and matches the string given strictly.
61
+
The specific set of text keys/fields/properties of a Collection to which the parameter is applied is left to the discretion of the implementation, but a recommendation is to at least consider `title`, `description` and `keywords`.
The filter extension for CQL support can be implemented, too. It works as it does for Items.
76
+
The filter extension for CQL support can be implemented, too.
67
77
See <https://github.com/stac-api-extensions/filter> for details.
78
+
It works as it does for Items, except that the queryables link for Collection Search is located in the response of `GET /collections` (property `links`).
79
+
The path/endpoint for Collection Search queryables can be freely chosen, but SHOULD NOT conflict with `GET /queryables`.
68
80
69
-
- Requirement class in *OGC API - Records - Part 2: Collections*: CQL Filter
81
+
- Requirement class in *OGC API - Records*: CQL Filter
0 commit comments